more handling time wraparounds
This commit is contained in:
parent
339d767044
commit
d20f84f5de
1 changed files with 4 additions and 1 deletions
|
@ -414,8 +414,11 @@ void client_manage(Window window)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* If time stamp is old, don't steal focus */
|
/* If time stamp is old, don't steal focus */
|
||||||
if (self->user_time && self->user_time < client_last_user_time)
|
if (self->user_time &&
|
||||||
|
!event_time_after(self->user_time, client_last_user_time))
|
||||||
|
{
|
||||||
activate = FALSE;
|
activate = FALSE;
|
||||||
|
}
|
||||||
/* Don't steal focus from globally active clients.
|
/* Don't steal focus from globally active clients.
|
||||||
I stole this idea from KWin. It seems nice.
|
I stole this idea from KWin. It seems nice.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue