]> Dogcows Code - chaz/openbox/commitdiff
only ignore wheel buttons
authorDana Jansens <danakj@orodu.net>
Wed, 30 Jul 2003 06:06:13 +0000 (06:06 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 30 Jul 2003 06:06:13 +0000 (06:06 +0000)
openbox/menu.c

index fae9dca6272d54fda6dd4e69d2b9d16e833b3a16..c6c3a4a30e476d1eabe2e553fddd560b9594c44b 100644 (file)
@@ -392,7 +392,8 @@ void menu_entry_fire(ObMenuEntry *self, unsigned int button, unsigned int x,
 {
     ObMenu *m;
 
-    if (button > 3) return;
+    /* ignore wheel scrolling */
+    if (button == 4 || button == 5) return;
 
     if (self->action) {
         self->action->data.any.c = self->parent->client;
This page took 0.022979 seconds and 4 git commands to generate.