oh.. wasted verbosity.. *strums guitar*

This commit is contained in:
Dana Jansens 2007-03-11 19:26:28 +00:00
parent e714fa7351
commit d98a6183a3

View file

@ -481,8 +481,8 @@ 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 && focus_client->can_focus != TRUE &&
focus_client->focus_notify == TRUE)
if (focus_client && !focus_client->can_focus &&
focus_client->focus_notify)
{
activate = FALSE;
}