bugfix
This commit is contained in:
parent
00c28a7ef2
commit
0c71b16b92
2
dwm.c
2
dwm.c
|
@ -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…
Reference in New Issue