Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
fb8e3f6
)
Fix comments in config.def.h to match field names.
author
Mark Edgar <
[email protected]
>
Sun, 20 Oct 2013 16:18:00 +0000
(18:18 +0200)
committer
Roberto E. Vargas Caballero <
[email protected]
>
Wed, 18 Dec 2013 07:10:44 +0000
(08:10 +0100)
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
ca49afd
..
4c26ef5
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-97,7
+97,7
@@
static unsigned int defaultunderline = 7;
/* Internal mouse shortcuts. */
/* Beware that overloading Button1 will disable the selection. */
static Mousekey mshortcuts[] = {
/* Internal mouse shortcuts. */
/* Beware that overloading Button1 will disable the selection. */
static Mousekey mshortcuts[] = {
- /*
keysym
mask string */
+ /*
button
mask string */
{ Button4, XK_ANY_MOD, "\031"},
{ Button5, XK_ANY_MOD, "\005"},
};
{ Button4, XK_ANY_MOD, "\031"},
{ Button5, XK_ANY_MOD, "\005"},
};
@@
-106,7
+106,7
@@
static Mousekey mshortcuts[] = {
#define MODKEY Mod1Mask
static Shortcut shortcuts[] = {
#define MODKEY Mod1Mask
static Shortcut shortcuts[] = {
- /* m
odifier key
function argument */
+ /* m
ask keysym
function argument */
{ MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} },
{ MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} },
{ MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
@@
-120,12
+120,12
@@
static Shortcut shortcuts[] = {
* Mask value:
* * Use XK_ANY_MOD to match the key no matter modifiers state
* * Use XK_NO_MOD to match the key alone (no modifiers)
* Mask value:
* * Use XK_ANY_MOD to match the key no matter modifiers state
* * Use XK_NO_MOD to match the key alone (no modifiers)
- *
keypad
value:
+ *
appkey
value:
* * 0: no value
* * > 0: keypad application mode enabled
* * = 2: term.numlock = 1
* * < 0: keypad application mode disabled
* * 0: no value
* * > 0: keypad application mode enabled
* * = 2: term.numlock = 1
* * < 0: keypad application mode disabled
- * cursor value:
+ *
app
cursor value:
* * 0: no value
* * > 0: cursor application mode enabled
* * < 0: cursor application mode disabled
* * 0: no value
* * > 0: cursor application mode enabled
* * < 0: cursor application mode disabled
@@
-151,9
+151,8
@@
static KeySym mappedkeys[] = { -1 };
*/
static uint ignoremod = Mod2Mask|XK_SWITCH_MOD;
*/
static uint ignoremod = Mod2Mask|XK_SWITCH_MOD;
-/* key, mask, output, keypad, cursor, crlf */
static Key key[] = {
static Key key[] = {
- /* keysym
mask string keypad
cursor crlf */
+ /* keysym
mask string appkey app
cursor crlf */
{ XK_KP_Home, ShiftMask, "\033[1;2H", 0, 0, 0},
{ XK_KP_Home, XK_ANY_MOD, "\033[H", 0, -1, 0},
{ XK_KP_Home, XK_ANY_MOD, "\033[1~", 0, +1, 0},
{ XK_KP_Home, ShiftMask, "\033[1;2H", 0, 0, 0},
{ XK_KP_Home, XK_ANY_MOD, "\033[H", 0, -1, 0},
{ XK_KP_Home, XK_ANY_MOD, "\033[1~", 0, +1, 0},