projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e0368
)
only use user_time updates if they are on the focused window
author
Dana Jansens
<danakj@orodu.net>
Sat, 4 Aug 2007 04:43:25 +0000
(
00:43
-0400)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 4 Aug 2007 04:43:25 +0000
(
00:43
-0400)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index d31b68c95c2d22cb818a3e7546171c4bf1009c89..148d152ec1838dfc36a88af20d36b56321d07d3c 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1504,7
+1504,8
@@
static void event_handle_client(ObClient *client, XEvent *e)
}
else if (msgtype == prop_atoms.net_wm_user_time) {
guint32 t;
- if (PROP_GET32(client->window, net_wm_user_time, cardinal, &t) &&
+ if (client == focus_client &&
+ PROP_GET32(client->window, net_wm_user_time, cardinal, &t) &&
t && !event_time_after(t, e->xproperty.time) &&
(!event_last_user_time ||
event_time_after(t, event_last_user_time)))