projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0116d82
)
set the client's user_time when it gets activated
author
Dana Jansens
<danakj@orodu.net>
Tue, 24 Apr 2007 19:55:48 +0000
(19:55 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 24 Apr 2007 19:55:48 +0000
(19:55 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
2ca9b51
..
51e93c1
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-3114,6
+3114,9
@@
void client_activate(ObClient *self, gboolean here, gboolean user)
{
client_hilite(self, TRUE);
} else {
+ if (event_curtime != CurrentTime)
+ self->user_time = event_curtime;
+
/* if using focus_delay, stop the timer now so that focus doesn't
go moving on us */
event_halt_focus_delay();