fix regression with mousewheel on statusbar

This commit is contained in:
Julien Danjou 2007-10-12 14:36:36 +02:00
parent 03e1b35d44
commit 7ca3bd32bb
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
return;
}
}
x += awesomeconf[screen].statusbar.width;
x += awesomeconf[screen].statusbar.txtlayoutwidth;
if(ev->x < x && (ev->button == Button1 || ev->button == Button4))
uicb_setlayout(&awesomeconf[screen], "+1");
else if(ev->x < x && (ev->button == Button3 || ev->button == Button5))