This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dwm
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix x coordinate calculation in buttonpress.
master
Ian Remmler
5 years ago
committed by
Hiltjo Posthuma
parent
bb2e7222ba
commit
61bb8b2241
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dwm.c
+ 1
- 1
dwm.c
View File
@ -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
;
Write
Preview
Loading…
Cancel
Save