dont focus !normal clients under the mouse

This commit is contained in:
Dana Jansens 2003-03-21 10:23:34 +00:00
parent 0cb6f81276
commit b3507a0968

View file

@ -29,8 +29,7 @@ static gboolean focus_under_pointer()
break;
}
if (it != NULL) {
client_focus(it->data);
return TRUE;
return client_normal(it->data) && client_focus(it->data);
}
}
return FALSE;