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/client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/client.h') 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). -- cgit v1.2.3