projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2e722
)
Fix x coordinate calculation in buttonpress.
author
Ian Remmler
<ian@remmler.org>
Tue, 3 Mar 2020 22:23:53 +0000
(16:23 -0600)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 21 Aug 2020 14:13:22 +0000
(16:13 +0200)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 9fd02862ca58529cf4f07cc4d3469e2b43a532b8..664c527f21f852967ba41739fda440429277df84 100644
(file)
--- a/
dwm.c
+++ b/
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;