Hi,
this change makes my keyboard mapping work with EFL again. Not sure if
it's the correct fix but otherwise
the second call to XKeysymToString is probably redundant in many cases.


Best,
Hannes
From 939b5b083bd861a8bf3e49c87d32d0bc1ffa9bfa Mon Sep 17 00:00:00 2001
From: Hannes Janetzek <hannes.janet...@gmail.com>
Date: Thu, 15 Dec 2016 04:25:35 +0100
Subject: fix Mode_switch key mapping


diff --git a/src/lib/ecore_x/ecore_x_events.c b/src/lib/ecore_x/ecore_x_events.c
index 0049fca..0e3a80d 100644
--- a/src/lib/ecore_x/ecore_x_events.c
+++ b/src/lib/ecore_x/ecore_x_events.c
@@ -384,7 +384,7 @@ _ecore_key_press(int event,
         sym = sym2;
      }
 
-   key = XKeysymToString(sym);
+   key = XKeysymToString(sym2);
    if (!key)
      key = keyname;
 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to