wayland: Use ClutterEvent getter methods

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3153>
This commit is contained in:
Carlos Garnacho
2023-08-04 12:33:33 +02:00
parent 71fb87a9f2
commit 64490c3489
16 changed files with 170 additions and 100 deletions

View File

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