Shift_L and Shift_R modifier keys seem not to be working(?)

Clemmitt Sigler <[email protected]> Tue, 7 Jun 2016 11:20:18 -0400
Newsgroups gmane.editors.qemacs.devel
Message-ID <CAMi=CscQLyLV0V88ChCGirgDv3D=mMNrY8B5xZZ_kVZPgNYO-g@mail.gmail.com>
--001a11425e3e0bc6ef0534b1ba08
Content-Type: text/plain; charset=UTF-8

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

--001a11425e3e0bc6ef0534b1ba08
Content-Type: text/x-patch; charset=US-ASCII; name="x11.c.patch"
Content-Disposition: attachment; filename="x11.c.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ip5lbte10

LS0tIHNyYy9xZW1hY3MtYnVpbGQveDExLmMub3JpZwkyMDE2LTA2LTAxIDA4OjQ4OjUxLjAxMTUz
MjE3MyAtMDQwMAorKysgc3JjL3FlbWFjcy1idWlsZC94MTEuYwkyMDE2LTA2LTAxIDA4OjQ1OjI1
LjAzMjE3NTgwNCAtMDQwMApAQCAtMTQyMSw2ICsxNDIxLDEwIEBACiAgICAgICAgICAgICAgICAg
c3dpdGNoIChrZXlzeW0pIHsKICAgICAgICAgICAgICAgICBjYXNlIFhLX0lTT19MZWZ0X1RhYjog
a2V5ID0gS0VZX1NISUZUX1RBQjsgZ290byBnb3Rfa2V5OwogICAgICAgICAgICAgICAgIGRlZmF1
bHQ6CisgICAgICAgICAgICAgICAgICAgIGlmIChsZW4gPiAwKSB7CisgICAgICAgICAgICAgICAg
ICAgICAgICBrZXkgPSBidWZbMF0gJiAweGZmOworICAgICAgICAgICAgICAgICAgICAgICAgZ290
byBnb3Rfa2V5OworICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgIGJy
ZWFrOwogICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgIH0gZWxzZQo=
--001a11425e3e0bc6ef0534b1ba08
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Qemacs-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/qemacs-devel

--001a11425e3e0bc6ef0534b1ba08--