set the client's user_time when it gets activated

This commit is contained in:
Dana Jansens 2007-04-24 19:55:48 +00:00
parent 0116d82463
commit d19c184b2d

View file

@ -3114,6 +3114,9 @@ void client_activate(ObClient *self, gboolean here, gboolean user)
{ {
client_hilite(self, TRUE); client_hilite(self, TRUE);
} else { } else {
if (event_curtime != CurrentTime)
self->user_time = event_curtime;
/* if using focus_delay, stop the timer now so that focus doesn't /* if using focus_delay, stop the timer now so that focus doesn't
go moving on us */ go moving on us */
event_halt_focus_delay(); event_halt_focus_delay();