From: Mark Edgar Date: Sun, 15 Dec 2013 15:45:51 +0000 (+0100) Subject: Fix definition of F28 key. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=fb8e3f67f7ca86e8118c731ed510345112a6d9d8;p=st.git 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 --- 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},