mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
seat: Group CLUTTER_SCROLL handling together with other pointer events
This commit is contained in:
parent
65ed8a817d
commit
e15c260e56
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user