allow focussing overlay with alttab
@@ -858,6 +858,9 @@ clientmessage(XEvent *e)
setfullscreen(c, (cme->data.l[0] == 1 /* _NET_WM_STATE_ADD */
|| (cme->data.l[0] == 2 /* _NET_WM_STATE_TOGGLE */ && (!c->isfullscreen || c->isfakefullscreen))));
} else if (cme->message_type == netatom[NetActiveWindow]) {
+ if (c == selmon->overlay) {
+ showoverlay();
+ } else {
for (i = 0; i < LENGTH(tags) && !((1 << i) & c->tags); i++);
if (i < LENGTH(tags)) {
const Arg a = {.ui = 1 << i};
@@ -870,6 +873,8 @@ clientmessage(XEvent *e)
restack(selmon);
}
}
+
+ }
}
void
@@ -1907,6 +1912,9 @@ motionnotify(XEvent *e)
}
}
}
+ if (altcursor == 2) {
+ resetcursor();
+ }
} else {
if (selmon->gesture) {
