diff options
author | Ian Remmler <ian@remmler.org> | 2020-03-03 16:23:53 -0600 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-08-21 16:13:22 +0200 |
commit | 61bb8b2241d4db08bea4261c82e27cd9797099e7 (patch) | |
tree | d4fd1e77e5ef492c1ef5658d25371c82fc72e9bc | |
parent | bb2e7222baeec7776930354d0e9f210cc2aaad5f (diff) |
Fix x coordinate calculation in buttonpress.
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |