From e928128743f0ada91543cb548a56fd4676269dc6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 15 Jan 2024 13:14:12 +1000 Subject: [PATCH] core: Handle Alt in the MetaPadActionMapper In the parser we set MOD1 if we encounter , so let's send the respective key event here. Closes: gnome-control-center#2593 Part-of: --- src/core/meta-pad-action-mapper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/meta-pad-action-mapper.c b/src/core/meta-pad-action-mapper.c index fca9b8651..8308f7860 100644 --- a/src/core/meta-pad-action-mapper.c +++ b/src/core/meta-pad-action-mapper.c @@ -475,6 +475,7 @@ emulate_modifiers (ClutterVirtualInputDevice *device, } mod_map[] = { { CLUTTER_SHIFT_MASK, CLUTTER_KEY_Shift_L }, { CLUTTER_CONTROL_MASK, CLUTTER_KEY_Control_L }, + { CLUTTER_MOD1_MASK, CLUTTER_KEY_Alt_L }, { CLUTTER_META_MASK, CLUTTER_KEY_Meta_L } };