summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Edgar2013-12-15 16:45:51 +0100
committerRoberto E. Vargas Caballero2013-12-18 08:10:22 +0100
commitfb8e3f67f7ca86e8118c731ed510345112a6d9d8 (patch)
treedf10b8fa096ef7f562d7aee5dc75bf66f9a15554
parent39f28b18b76b9dc8353ae399cb8a99f13f9de2c2 (diff)
downloadst-fb8e3f67f7ca86e8118c731ed510345112a6d9d8.tar.gz
st-fb8e3f67f7ca86e8118c731ed510345112a6d9d8.tar.xz
st-fb8e3f67f7ca86e8118c731ed510345112a6d9d8.zip
Fix definition of F28 key.
Shitf modifier adds 12 to the function number of the function keys, while Control adds 24, so Control + F4 generates F28
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 2a7e098..ca49afd 100644
--- 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},