(I'm resending this to the list under the original subject line for the archives)
On Fri, Jul 04, 2014 at 02:00:59AM -0700, raster (Carsten Haitzler (Rasterman)) wrote: > raster added a comment. > > ok. i've taken a deep look at this. finally. and here is the problem. the > xmodmaps above marc gave CREATE a big problem. > > they make ALTGR and ALT have the SAME modifier mask on the x11 side. they are > indistinguishable from eachother. when e maps modifiers back from x's mask to > its config, it ends up with modifiers pressed being BOTH ALT .. AND ALTGR.. > thus this doesn't match any configured modifiers in e. this is just all kinds > of wrong and basically a BUG in the configuration of the keyboard. trust the > french to come up with this doosie. :) Oh my, that's definitely interesting. Funny thing is that I never needed to do this with French keyboards since he keys I'm emulating with right alt as mode switch exist on French keyboards. So is that basically a misfeature in Xorg/xinput? > so here is my solution. it works for me testing using those modmaps above. > i'm putting it in ecore_x. if it detects a conflict in modifier masks of > modifiers, it'll ERR complain and then ignore that conflicting modifier > (ALTGR, and others). this fixes it but basically nukes the ability to have > ALTGR as a modifier... it just ends up being alt. On the plus side, that's actually not as bad because keyboards that have ALTGR typically also have extra keys to start with and their users are less likely to use that key as a modifier. That's more for "7 bit ascii should be enough for anybody" US keyboards :) > TASK DETAIL > https://phab.enlightenment.org/T1273 Thanks much for the fix, I appreciate it. Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
