seat: Group CLUTTER_SCROLL handling together with other pointer events

This commit is contained in:
Jasper St. Pierre 2014-04-17 19:10:39 -04:00
parent 65ed8a817d
commit e15c260e56

View File

@ -335,15 +335,15 @@ meta_wayland_seat_handle_event (MetaWaylandSeat *seat,
handle_button_event (seat, event); handle_button_event (seat, event);
break; break;
case CLUTTER_SCROLL:
handle_scroll_event (seat, event);
break;
case CLUTTER_KEY_PRESS: case CLUTTER_KEY_PRESS:
case CLUTTER_KEY_RELEASE: case CLUTTER_KEY_RELEASE:
return meta_wayland_keyboard_handle_event (&seat->keyboard, return meta_wayland_keyboard_handle_event (&seat->keyboard,
(const ClutterKeyEvent *) event); (const ClutterKeyEvent *) event);
case CLUTTER_SCROLL:
handle_scroll_event (seat, event);
break;
default: default:
break; break;
} }