Browse Source

Fix x coordinate calculation in buttonpress.

master
Ian Remmler 2 years ago
committed by Hiltjo Posthuma
parent
commit
61bb8b2241
  1. 2
      dwm.c

2
dwm.c

@ -440,7 +440,7 @@ buttonpress(XEvent *e)
arg.ui = 1 << i;
} else if (ev->x < x + blw)
click = ClkLtSymbol;
else if (ev->x > selmon->ww - TEXTW(stext))
else if (ev->x > selmon->ww - (int)TEXTW(stext))
click = ClkStatusText;
else
click = ClkWinTitle;

Loading…
Cancel
Save