diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-30 06:06:13 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-30 06:06:13 +0000 |
| commit | 40c3228f351b3e35c3b85f140c195ea984ab2b61 (patch) | |
| tree | d57a9c64a3bd45d0a6b8e7783c649431a2773211 /openbox | |
| parent | 64884e4390cedbf47002fa8b4534a416033a3cca (diff) | |
only ignore wheel buttons
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
