diff options
author | bernd <bernd> | 2007-04-27 18:10:39 +0000 |
---|---|---|
committer | bernd <bernd> | 2007-04-27 18:10:39 +0000 |
commit | 8d6050329032f6f294118f53e0902a3a9e8afe7e (patch) | |
tree | 6d6dba031ad8a82627878ab9b750f828714dd6ec /input.c | |
parent | 890a32aa33a71b66c2b976342ffad80150f05bb8 (diff) | |
download | cwm-8d6050329032f6f294118f53e0902a3a9e8afe7e.tar.gz cwm-8d6050329032f6f294118f53e0902a3a9e8afe7e.tar.xz cwm-8d6050329032f6f294118f53e0902a3a9e8afe7e.zip |
Apply cwm-3-input_shift.diff from http://aon.iki.fi/cwm/.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/input.c b/input.c index 95f30f8..821ed24 100644 --- a/input.c +++ b/input.c @@ -19,7 +19,10 @@ input_keycodetrans(KeyCode kc, u_int state, *ctl = CTL_NONE; *chr = '\0'; - ks = XKeycodeToKeysym(G_dpy, kc, 0); + if (state & ShiftMask) + ks = XKeycodeToKeysym(G_dpy, kc, 1); + else + ks = XKeycodeToKeysym(G_dpy, kc, 0); /* Look for control characters. */ switch (ks) { |