diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-11 02:06:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-11 02:06:34 +0000 |
| commit | 9d6e3907650f4bc05ebf147aeec92573d7b88758 (patch) | |
| tree | f85f202345b1154a4a4f83a8d26570e10dda9eca /openbox/startupnotify.h | |
| parent | bd19fd06db8905ef835109414314ef928370a7d7 (diff) | |
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.
Diffstat (limited to 'openbox/startupnotify.h')
| -rw-r--r-- | openbox/startupnotify.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <glib.h> +#include <X11/Xlib.h> 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 */ |
