focus() enforces visibility of a client if not NULL

new_dwm
arg@mmvi 18 years ago
parent ca68975ff8
commit 8e37c78ce3

@ -84,7 +84,7 @@ void
focus(Client *c) {
Client *old;
if(!issel)
if(!issel || (c && !isvisible(c)))
return;
if(!sel)
sel = c;

Loading…
Cancel
Save