only ignore wheel buttons

This commit is contained in:
Dana Jansens 2003-07-30 06:06:13 +00:00
parent 64884e4390
commit 40c3228f35

View file

@ -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;