Introduction
Introduction Statistics Contact Development Disclaimer Help
Handle shift as a modifier. - sam - An updated version of the sam text editor.
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
commit 06107f8d25b2817904804040f729e2f059eca966
parent 37df20c57224ba5a3a4b9c04491368b7b5047ac6
Author: Rob King <[email protected]>
Date: Fri, 9 Sep 2016 17:11:39 -0500
Handle shift as a modifier.
Diffstat:
libXg/gwin.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/libXg/gwin.c b/libXg/gwin.c
@@ -250,7 +250,11 @@ Keyaction(Widget w, XEvent *e, String *p, Cardinal *np)
/* Check to see if it's a specially-handled key first. */
for (Keymapping *m = keymappings; m; m = m->next){
- if (k == m->s){
+ KeySym u = NoSymbol;
+ KeySym l = NoSymbol;
+ XConvertCase(k, &l, &u);
+
+ if (l == m->s){
if (m->m == 0 || (m->m & ~e->xkey.state) == 0){
f = ((GwinWidget)w)->gwin.gotchar;
if (f)
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.