pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f28b1
)
Fix definition of F28 key.
author
Mark Edgar
<medgar123@gmail.com>
Sun, 15 Dec 2013 15:45:51 +0000
(16:45 +0100)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Wed, 18 Dec 2013 07:10:22 +0000
(08:10 +0100)
Shitf modifier adds 12 to the function number of the function keys,
while Control adds 24, so Control + F4 generates F28
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
2a7e098
..
ca49afd
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-281,7
+281,7
@@
static Key key[] = {
{ XK_F3, /* F63 */ Mod3Mask, "\033[1;4R", 0, 0, 0},
{ XK_F4, XK_NO_MOD, "\033OS" , 0, 0, 0},
{ XK_F4, /* F16 */ ShiftMask, "\033[1;2S", 0, 0, 0},
- { XK_F4, /* F28 */
ShiftMask,
"\033[1;5S", 0, 0, 0},
+ { XK_F4, /* F28 */
ControlMask,
"\033[1;5S", 0, 0, 0},
{ XK_F4, /* F40 */ Mod4Mask, "\033[1;6S", 0, 0, 0},
{ XK_F4, /* F52 */ Mod1Mask, "\033[1;3S", 0, 0, 0},
{ XK_F5, XK_NO_MOD, "\033[15~", 0, 0, 0},