From 9d6e3907650f4bc05ebf147aeec92573d7b88758 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 11 Mar 2007 02:06:34 +0000 Subject: add the _NET_WM_USER_TIME property support. When focus_new is enabled, don't focus new windows if the user is doing something in another window since it launched. If we can tell when it launched, either from the _NET_WM_USER_TIME or from startup notification. --- openbox/startupnotify.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/startupnotify.h') diff --git a/openbox/startupnotify.h b/openbox/startupnotify.h index 1a6d47a1..cf238354 100644 --- a/openbox/startupnotify.h +++ b/openbox/startupnotify.h @@ -20,6 +20,7 @@ #define ob__startupnotify_h #include +#include void sn_startup(gboolean reconfig); void sn_shutdown(gboolean reconfig); @@ -27,7 +28,7 @@ void sn_shutdown(gboolean reconfig); gboolean sn_app_starting(); /*! Notify that an app has started */ -void sn_app_started(const gchar *id, const gchar *wmclass); +Time sn_app_started(const gchar *id, const gchar *wmclass); /*! Get the desktop requested via the startup-notiication protocol if one was requested */ -- cgit v1.2.3