summaryrefslogtreecommitdiff
path: root/src/bin/keyin.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-10-03 20:59:38 +0200
committerBoris Faure <billiob@gmail.com>2014-10-03 20:59:38 +0200
commit585d4c55ec82ecc6f49f211b9f32d5e5dd9fa89f (patch)
treeb457a5d7bf7cd3eb32ec9b1ae60933abd29725d6 /src/bin/keyin.c
parentbf288c8031718d4c5ee64ea0135a4aaf1697ad1c (diff)
forbid AltGr in keybindings
Diffstat (limited to 'src/bin/keyin.c')
-rw-r--r--src/bin/keyin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index 85b06ba..5e79ef2 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -221,6 +221,7 @@ keyin_handle(Keys_Handler *khdl, Termpty *ty, const Evas_Event_Key_Down *ev,
221 221
222 if (!evas_key_modifier_is_set(ev->modifiers, "Meta") && 222 if (!evas_key_modifier_is_set(ev->modifiers, "Meta") &&
223 !evas_key_modifier_is_set(ev->modifiers, "Hyper") && 223 !evas_key_modifier_is_set(ev->modifiers, "Hyper") &&
224 !evas_key_modifier_is_set(ev->modifiers, "AltGr") &&
224 !evas_key_modifier_is_set(ev->modifiers, "ISO_Level3_Shift")) 225 !evas_key_modifier_is_set(ev->modifiers, "ISO_Level3_Shift"))
225 { 226 {
226 Key_Binding *kb; 227 Key_Binding *kb;
@@ -313,6 +314,7 @@ key_is_modifier(const char *key)
313 STATIC_STR_EQUAL("Shift") || 314 STATIC_STR_EQUAL("Shift") ||
314 STATIC_STR_EQUAL("Control") || 315 STATIC_STR_EQUAL("Control") ||
315 STATIC_STR_EQUAL("Alt") || 316 STATIC_STR_EQUAL("Alt") ||
317 STATIC_STR_EQUAL("AltGr") ||
316 STATIC_STR_EQUAL("Meta") || 318 STATIC_STR_EQUAL("Meta") ||
317 STATIC_STR_EQUAL("Super") || 319 STATIC_STR_EQUAL("Super") ||
318 STATIC_STR_EQUAL("Hyper") || 320 STATIC_STR_EQUAL("Hyper") ||