mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
wayland: Use ClutterEvent getter methods
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3153>
This commit is contained in:
@ -524,7 +524,7 @@ static gboolean
|
||||
keyboard_drag_grab_key (MetaWaylandKeyboardGrab *grab,
|
||||
const ClutterEvent *event)
|
||||
{
|
||||
if (event->key.keyval == CLUTTER_KEY_Escape)
|
||||
if (clutter_event_get_key_symbol (event) == CLUTTER_KEY_Escape)
|
||||
{
|
||||
MetaWaylandDragGrab *drag_grab;
|
||||
|
||||
|
Reference in New Issue
Block a user