fix clicks on the tray
parent
dc73c0ed70
commit
f1b651a759
3
dwm.c
3
dwm.c
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue