From 7acb3c527229d1ea48070398315663e946d5bceb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 23 Mar 2014 17:26:11 -0400 Subject: Added GDK_KEY_Alt_L/R to the modifier key handling in GTK+ key events. --- area_unix.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/area_unix.go b/area_unix.go index a990cc9..4e4788b 100644 --- a/area_unix.go +++ b/area_unix.go @@ -320,7 +320,9 @@ var modonlykeys = map[C.guint]Modifiers{ C.GDK_KEY_Control_R: Ctrl, C.GDK_KEY_Meta_L: Alt, C.GDK_KEY_Meta_R: Alt, - // TODO GDK_KEY_Alt_L/R too? + // my system generats these two for the Alt keys instead of Meta + C.GDK_KEY_Alt_L: Alt, + C.GDK_KEY_Alt_R: Alt, // C.GDK_KEY_Super_L: Super, // C.GDK_KEY_Super_R: Super, } -- cgit v1.2.3