Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
changing XFlush into XSync
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
798cb3c
..
9a13eee
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-128,7
+128,7
@@
buttonpress(XEvent *e)
Client *c;
if(barwin == ev->window) {
- x =
(arrange == dofloat) ? textw("~") :
0;
+ x = 0;
for(a.i = 0; a.i < TLast; a.i++) {
x += textw(tags[a.i]);
if(ev->x < x) {