maybe the user time stuff should be more like other wm implementtions and less in the way
This commit is contained in:
parent
1d93dc961b
commit
bca4fe6c8b
1 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue