diff options
author | portix <portix@gmx.net> | 2011-07-31 19:32:09 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-07-31 19:32:09 +0200 |
commit | 1442343eeee85596c91bc0a7d2ae8101ab660bb2 (patch) | |
tree | 36a04337a7b05131f0684854eb08c87817d35447 /src/util.c | |
parent | 259ba04de191ea56dc5d0bd1272bd609a1800b81 (diff) | |
download | dwb-1442343eeee85596c91bc0a7d2ae8101ab660bb2.zip |
Allow also shift modifier in comination with non printable characters
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -68,6 +68,10 @@ dwb_modmask_to_string(guint modmask) { mod[i] = "Mod4"; modmask ^= GDK_MOD4_MASK; } + else if (modmask & GDK_SHIFT_MASK) { + mod[i] = "Shift"; + modmask ^= GDK_SHIFT_MASK; + } } mod[i] = NULL; char *line = g_strjoinv(" ", mod); |