maybe the user time stuff should be more like other wm implementtions and less in the way

This commit is contained in:
Dana Jansens 2007-05-21 21:48:27 +00:00
parent 1d93dc961b
commit bca4fe6c8b

View file

@ -3488,12 +3488,9 @@ void client_activate(ObClient *self, gboolean here, gboolean user)
self->window, event_curtime, last_time,
(user ? "user" : "application"), allow);
if (allow) {
if (event_curtime != CurrentTime)
self->user_time = event_curtime;
if (allow)
client_present(self, here, TRUE);
} else
else
/* don't focus it but tell the user it wants attention */
client_hilite(self, TRUE);
}