It detects XK_Meta_L.
I am not sure a simple comparison between ECORE_X_MODIFIER_ALT and ECORE_X_MODIFIER_WIN
is enough.
Anyway, why you don't save this info as string? The parsing is already in e_remote_main.
/Tamas
On Fri, 20 May 2005 09:06:17 +0200, Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote:
On Fri, 20 May 2005 09:09:01 +0200 " " <[EMAIL PROTECTED]> babbled:
and
Hi all,
The ALT and WIN modifiers can be the same if someone like me does not use the "us" layout. The WIN keys are not even modifiers in my casec,as the ALT is also META the ECORE_X_MODIFIER_ALT will be the same as ECORE_X_MODIFIER_WIN.
This can screw up the keybindings because of the mapping between E_BINDING_MODIFIER_* and ECORE_X_MODIFIER_*. So, I completely removed the E_BINDING_MODIFIER_*.
Here are the patches. Please note that there is no patch for e_config.because my e_config.c is too different from the original (and I amlazy:)), but it should be trivial to change all occurences of E_BINDING_MODIFIER_* to ECORE_X_MODIFIER_*.
no - you can't do that. there is a GOOD reason for them being separate. ECORE_X_MODIFER_* are determined at runtime - they may vary from display to display (what value they have). we cant go saving this value into files, so we need to map them to know static FIXED values (ie E_BINDING_MODIFIER_*). that's why it does that :( so the WIN keys (ecore_x checks for XK_Super_L, XK_Mode_switch, and XK_Meta_L in turn for tyring to figure out which ones are the windows key modifiers. if these don't exist it gives up and the win modifier is 0 - ie doesnt exist). so what does it detect? Mode_switch? i think you want to be looking at the solution in ecore_x no e17. :)
/Tamas
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
