focus() enforces visibility of a client if not NULL
This commit is contained in:
2
client.c
2
client.c
@@ -84,7 +84,7 @@ void
|
||||
focus(Client *c) {
|
||||
Client *old;
|
||||
|
||||
if(!issel)
|
||||
if(!issel || (c && !isvisible(c)))
|
||||
return;
|
||||
if(!sel)
|
||||
sel = c;
|
||||
|
Reference in New Issue
Block a user