dont focus !normal clients under the mouse
This commit is contained in:
parent
0cb6f81276
commit
b3507a0968
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue