only ignore wheel buttons
This commit is contained in:
parent
64884e4390
commit
40c3228f35
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue