fix clicks on the tray

main
ColumbusUtrigas 2022-11-04 09:31:26 +04:00
parent dc73c0ed70
commit f1b651a759
1 changed files with 2 additions and 1 deletions

3
dwm.c
View File

@ -580,7 +580,8 @@ buttonpress(XEvent *e)
} else if (ev->x < x + blw)
click = ClkLtSymbol;
else if (ev->x > selmon->ww - statusw - getsystraywidth()) {
x = selmon->ww - statusw;
//else if (ev->x > selmon->ww - statusw) {
x = selmon->ww - statusw - getsystraywidth();
click = ClkStatusText;
statussig = 0;
for (text = s = stext; *s && x <= ev->x; s++) {