Browse Source

bugfix

master
Anselm R Garbe 17 years ago
parent
commit
0c71b16b92
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dwm.c

+ 1
- 1
dwm.c View File

@ -330,7 +330,7 @@ buttonpress(XEvent *e) {
x = bgw; x = bgw;
for(i = 0; i < LENGTH(tags); i++) { for(i = 0; i < LENGTH(tags); i++) {
x += textw(tags[i]); x += textw(tags[i]);
if(ev->x > bgw && ev->x < x) {
if(ev->x >= bgw && ev->x < x) {
if(ev->button == Button1) { if(ev->button == Button1) {
if(ev->state & MODKEY) if(ev->state & MODKEY)
tag(tags[i]); tag(tags[i]);


Loading…
Cancel
Save