fix toggleoverlay
@@ -2177,12 +2177,12 @@ motionnotify(XEvent *e)
}
// toggle overlay gesture
- if (ev->y_root == 0 && ev->x_root >= selmon->mx + selmon->ww + - 20 - getsystraywidth()) {
+ if (ev->y_root == 0 && ev->x_root >= selmon->mx + selmon->ww - 20 - getsystraywidth()) {
if (selmon->gesture != 11) {
selmon->gesture = 11;
setoverlay();
- return;
}
+ return;
} else if (selmon->gesture == 11 && ev->x_root >= selmon->mx + selmon->ww - 24 - getsystraywidth()) {
selmon->gesture = 0;
return;
