From 40c3228f351b3e35c3b85f140c195ea984ab2b61 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 30 Jul 2003 06:06:13 +0000 Subject: [PATCH] only ignore wheel buttons --- openbox/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.45.2