commit a7e268507ed502c06bb3c0c63c2304d5b87e3cb1
parent 8a2cd92ea7a17b3ca9f9151a76033717cc899605
Author: seninha <lucas@seninha.org>
Date: Wed, 16 Mar 2022 11:22:50 -0300
focus nothing when there's nothing to focus
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/shod.c b/shod.c
@@ -6141,6 +6141,8 @@ xeventclientmessage(XEvent *e)
c = getnextfocused(mon, prevdesk);
if (c != NULL) {
tabfocus(c->selcol->selrow->seltab, 0);
+ } else {
+ tabfocus(NULL, 0);
}
}
} else if (ev->message_type == atoms[_NET_REQUEST_FRAME_EXTENTS]) {