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/client.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/client.h')
| -rw-r--r-- | openbox/client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h index a5011cb6..cb6eed53 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -269,6 +269,8 @@ struct _ObClient ObClientIcon *icons; /*! The number of icons in icons */ guint nicons; + + guint32 user_time; }; struct _ObAppSettings @@ -530,6 +532,8 @@ void client_update_class(ObClient *self); void client_update_strut(ObClient *self); /*! Updates the window's icons */ void client_update_icons(ObClient *self); +/*! Updates the window's user time */ +void client_update_user_time(ObClient *self, gboolean new_event); /*! Set up what decor should be shown on the window and what functions should be allowed (ObClient::decorations and ObClient::functions). |
