forked from mirror/dwm
bugfix
This commit is contained in:
parent
00c28a7ef2
commit
0c71b16b92
1 changed files with 1 additions and 1 deletions
2
dwm.c
2
dwm.c
|
@ -330,7 +330,7 @@ buttonpress(XEvent *e) {
|
|||
x = bgw;
|
||||
for(i = 0; i < LENGTH(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->state & MODKEY)
|
||||
tag(tags[i]);
|
||||
|
|
Loading…
Reference in a new issue