summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-11 02:06:34 +0000
committerDana Jansens <danakj@orodu.net>2007-03-11 02:06:34 +0000
commit9d6e3907650f4bc05ebf147aeec92573d7b88758 (patch)
treef85f202345b1154a4a4f83a8d26570e10dda9eca /openbox/event.c
parentbd19fd06db8905ef835109414314ef928370a7d7 (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/event.c')
-rw-r--r--openbox/event.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 558872e8..9faf9403 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1148,6 +1148,9 @@ static void event_handle_client(ObClient *client, XEvent *e)
else if (msgtype == prop_atoms.net_wm_icon) {
client_update_icons(client);
}
+ else if (msgtype == prop_atoms.net_wm_user_time) {
+ client_update_user_time(client, TRUE);
+ }
else if (msgtype == prop_atoms.sm_client_id) {
client_update_sm_client_id(client);
}