Added GDK_KEY_Alt_L/R to the modifier key handling in GTK+ key events.

This commit is contained in:
Pietro Gagliardi 2014-03-23 17:26:11 -04:00
parent aee2b98270
commit 7acb3c5272
1 changed files with 3 additions and 1 deletions

View File

@ -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,
}