mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
fix regression with mousewheel on statusbar
This commit is contained in:
parent
03e1b35d44
commit
7ca3bd32bb
1 changed files with 1 additions and 1 deletions
2
event.c
2
event.c
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue