diff options
author | Mark Edgar <medgar123@gmail.com> | 2013-10-20 18:18:00 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2013-12-18 08:10:44 +0100 |
commit | 6162d631517c892ec76663f6ac2b8e4d109fe2d4 (patch) | |
tree | 506a4d5ab233beee46b3262546d0cade36fa592f | |
parent | fb8e3f67f7ca86e8118c731ed510345112a6d9d8 (diff) | |
download | st-patched-6162d631517c892ec76663f6ac2b8e4d109fe2d4.tar.bz2 st-patched-6162d631517c892ec76663f6ac2b8e4d109fe2d4.tar.xz st-patched-6162d631517c892ec76663f6ac2b8e4d109fe2d4.zip |
Fix comments in config.def.h to match field names.
-rw-r--r-- | config.def.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h index ca49afd..4c26ef5 100644 --- a/config.def.h +++ b/config.def.h | |||
@@ -97,7 +97,7 @@ static unsigned int defaultunderline = 7; | |||
97 | /* Internal mouse shortcuts. */ | 97 | /* Internal mouse shortcuts. */ |
98 | /* Beware that overloading Button1 will disable the selection. */ | 98 | /* Beware that overloading Button1 will disable the selection. */ |
99 | static Mousekey mshortcuts[] = { | 99 | static Mousekey mshortcuts[] = { |
100 | /* keysym mask string */ | 100 | /* button mask string */ |
101 | { Button4, XK_ANY_MOD, "\031"}, | 101 | { Button4, XK_ANY_MOD, "\031"}, |
102 | { Button5, XK_ANY_MOD, "\005"}, | 102 | { Button5, XK_ANY_MOD, "\005"}, |
103 | }; | 103 | }; |
@@ -106,7 +106,7 @@ static Mousekey mshortcuts[] = { | |||
106 | #define MODKEY Mod1Mask | 106 | #define MODKEY Mod1Mask |
107 | 107 | ||
108 | static Shortcut shortcuts[] = { | 108 | static Shortcut shortcuts[] = { |
109 | /* modifier key function argument */ | 109 | /* mask keysym function argument */ |
110 | { MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} }, | 110 | { MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} }, |
111 | { MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} }, | 111 | { MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} }, |
112 | { ShiftMask, XK_Insert, selpaste, {.i = 0} }, | 112 | { ShiftMask, XK_Insert, selpaste, {.i = 0} }, |
@@ -120,12 +120,12 @@ static Shortcut shortcuts[] = { | |||
120 | * Mask value: | 120 | * Mask value: |
121 | * * Use XK_ANY_MOD to match the key no matter modifiers state | 121 | * * Use XK_ANY_MOD to match the key no matter modifiers state |
122 | * * Use XK_NO_MOD to match the key alone (no modifiers) | 122 | * * Use XK_NO_MOD to match the key alone (no modifiers) |
123 | * keypad value: | 123 | * appkey value: |
124 | * * 0: no value | 124 | * * 0: no value |
125 | * * > 0: keypad application mode enabled | 125 | * * > 0: keypad application mode enabled |
126 | * * = 2: term.numlock = 1 | 126 | * * = 2: term.numlock = 1 |
127 | * * < 0: keypad application mode disabled | 127 | * * < 0: keypad application mode disabled |
128 | * cursor value: | 128 | * appcursor value: |
129 | * * 0: no value | 129 | * * 0: no value |
130 | * * > 0: cursor application mode enabled | 130 | * * > 0: cursor application mode enabled |
131 | * * < 0: cursor application mode disabled | 131 | * * < 0: cursor application mode disabled |
@@ -151,9 +151,8 @@ static KeySym mappedkeys[] = { -1 }; | |||
151 | */ | 151 | */ |
152 | static uint ignoremod = Mod2Mask|XK_SWITCH_MOD; | 152 | static uint ignoremod = Mod2Mask|XK_SWITCH_MOD; |
153 | 153 | ||
154 | /* key, mask, output, keypad, cursor, crlf */ | ||
155 | static Key key[] = { | 154 | static Key key[] = { |
156 | /* keysym mask string keypad cursor crlf */ | 155 | /* keysym mask string appkey appcursor crlf */ |
157 | { XK_KP_Home, ShiftMask, "\033[1;2H", 0, 0, 0}, | 156 | { XK_KP_Home, ShiftMask, "\033[1;2H", 0, 0, 0}, |
158 | { XK_KP_Home, XK_ANY_MOD, "\033[H", 0, -1, 0}, | 157 | { XK_KP_Home, XK_ANY_MOD, "\033[H", 0, -1, 0}, |
159 | { XK_KP_Home, XK_ANY_MOD, "\033[1~", 0, +1, 0}, | 158 | { XK_KP_Home, XK_ANY_MOD, "\033[1~", 0, +1, 0}, |