Hi, I'm running Arch Linux x86_64. Either there's something weird with X on my laptop or not many people have used the X version of qemacs because no one has complained....
When running X qemacs, pressing the left and right Shift modifier keys doesn't work. It's not that regular letters aren't capitalized. Instead, pressing the Shift keys suppresses key input completely. So, I'm not an X programmer but know the simple basics. I noticed a difference in how keys were handled when "shift" is on in x11_handle_event() compared to when "ctrl" is on. So I hacked the source and it works, but it may not be the right way to fix the problem(?). Or maybe I'm the only one seeing this problem? Patch is attached. HTH. And thanks for maintaining and hacking on such a useful lightweight editor :^) -- Clemmitt Sigler
--- src/qemacs-build/x11.c.orig 2016-06-01 08:48:51.011532173 -0400 +++ src/qemacs-build/x11.c 2016-06-01 08:45:25.032175804 -0400 @@ -1421,6 +1421,10 @@ switch (keysym) { case XK_ISO_Left_Tab: key = KEY_SHIFT_TAB; goto got_key; default: + if (len > 0) { + key = buf[0] & 0xff; + goto got_key; + } break; } } else
_______________________________________________ Qemacs-devel mailing list Qemacs-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/qemacs-devel