From: Mikael Magnusson Date: Wed, 2 May 2007 20:19:18 +0000 (+0000) Subject: only ignore vertical scrolls X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1019e3401294afa71a1fc8f41eee42c87e74199f;p=chaz%2Fopenbox only ignore vertical scrolls --- diff --git a/openbox/event.c b/openbox/event.c index ec258bbb..c00212f8 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1365,7 +1365,7 @@ static gboolean event_handle_menu(XEvent *ev) switch (ev->type) { case ButtonRelease: - if ((ev->xbutton.button < 4 || ev->xbutton.button > 7) + if ((ev->xbutton.button < 4 || ev->xbutton.button > 5) && menu_can_hide) { if ((e = menu_entry_frame_under(ev->xbutton.x_root,