Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
mouse shortcuts: allow override for all shortcuts
[st.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
36ff6ce
..
a0a0d2d
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-150,6
+150,13
@@
static unsigned int mousebg = 0;
*/
static unsigned int defaultattr = 11;
*/
static unsigned int defaultattr = 11;
+/*
+ * Force mouse select/shortcuts while mask is active (when MODE_MOUSE is set).
+ * Note that if you want to use ShiftMask with selmasks, set this to an other
+ * modifier, set to 0 to not use it.
+ */
+static uint forcemousemod = ShiftMask;
+
/*
* Internal mouse shortcuts.
* Beware that overloading Button1 will disable the selection.
/*
* Internal mouse shortcuts.
* Beware that overloading Button1 will disable the selection.
@@
-213,13
+220,6
@@
static KeySym mappedkeys[] = { -1 };
*/
static uint ignoremod = Mod2Mask|XK_SWITCH_MOD;
*/
static uint ignoremod = Mod2Mask|XK_SWITCH_MOD;
-/*
- * Override mouse-select while mask is active (when MODE_MOUSE is set).
- * Note that if you want to use ShiftMask with selmasks, set this to an other
- * modifier, set to 0 to not use it.
- */
-static uint forceselmod = ShiftMask;
-
/*
* This is the huge key array which defines all compatibility to the Linux
* world. Please decide about changes wisely.
/*
* This is the huge key array which defines all compatibility to the Linux
* world. Please decide about changes wisely.