oops, logic error

This commit is contained in:
Dana Jansens 2007-03-17 20:06:16 +00:00
parent 50f631b9a7
commit 5fa443efc8

View file

@ -417,7 +417,7 @@ void client_manage(Window window)
/* Don't steal focus from globally active clients.
I stole this idea from KWin. It seems nice.
*/
if (!focus_client->can_focus && focus_client->focus_notify)
if (!(focus_client->can_focus || focus_client->focus_notify))
activate = FALSE;
}