]> Dogcows Code - chaz/openbox/commitdiff
only ignore vertical scrolls
authorMikael Magnusson <mikachu@comhem.se>
Wed, 2 May 2007 20:19:18 +0000 (20:19 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 2 May 2007 20:19:18 +0000 (20:19 +0000)
openbox/event.c

index ec258bbbd0d8c635838e4b536040afad84005b4c..c00212f849a221b07027bcb8955aced902872ea8 100644 (file)
@@ -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,
This page took 0.025641 seconds and 4 git commands to generate.