diff options
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) { |