projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64884e4
)
only ignore wheel buttons
author
Dana Jansens
<danakj@orodu.net>
Wed, 30 Jul 2003 06:06:13 +0000
(06:06 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 30 Jul 2003 06:06:13 +0000
(06:06 +0000)
openbox/menu.c
patch
|
blob
|
history
diff --git
a/openbox/menu.c
b/openbox/menu.c
index
fae9dca
..
c6c3a4a
100644
(file)
--- 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;