X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.c;h=c6c3a4a30e476d1eabe2e553fddd560b9594c44b;hb=40c3228f351b3e35c3b85f140c195ea984ab2b61;hp=fae9dca6272d54fda6dd4e69d2b9d16e833b3a16;hpb=3b62c85b6041b9f18c4cbd8edc45bb43774012ec;p=chaz%2Fopenbox diff --git a/openbox/menu.c b/openbox/menu.c index fae9dca6..c6c3a4a3 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -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;