aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:11:14 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-15 18:11:14 +0200
commitf60c597d653bd7eab6c620fc53d732ca75f6a880 (patch)
treed7cc81bf3fbcea4b5c68b6d568fcb3fae6d5588b /event.c
parentc09bf8da071e05e2c1d714f0d31d41fe944bc11b (diff)
downloaddwm-f60c597d653bd7eab6c620fc53d732ca75f6a880.tar.gz
changing XFlush into XSync
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 798cb3c..9a13eee 100644
--- 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) {