only ignore vertical scrolls

This commit is contained in:
Mikael Magnusson 2007-05-02 20:19:18 +00:00
parent 0fee4e91a8
commit 1019e34012

View file

@ -1365,7 +1365,7 @@ static gboolean event_handle_menu(XEvent *ev)
switch (ev->type) { switch (ev->type) {
case ButtonRelease: case ButtonRelease:
if ((ev->xbutton.button < 4 || ev->xbutton.button > 7) if ((ev->xbutton.button < 4 || ev->xbutton.button > 5)
&& menu_can_hide) && menu_can_hide)
{ {
if ((e = menu_entry_frame_under(ev->xbutton.x_root, if ((e = menu_entry_frame_under(ev->xbutton.x_root,