X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=e4804bcc0872be2d69b28d61b374f6e64caa22e2;hb=bca4fe6c8b8d1ab8b2c9273149f48fd9cd4e0f4d;hp=9b89b10356cd4b947ebc1053692ce8f0bb9e5d5e;hpb=fd8ce9414aa12028b26fd67082e843ea161e3b90;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 9b89b103..e4804bcc 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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); }