Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
mouse shortcuts: allow same functions as kb shortcuts
[st.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
6ebea98
..
36ff6ce
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-155,9
+155,9
@@
static unsigned int defaultattr = 11;
* Beware that overloading Button1 will disable the selection.
*/
static MouseShortcut mshortcuts[] = {
* Beware that overloading Button1 will disable the selection.
*/
static MouseShortcut mshortcuts[] = {
- /*
button mask string
*/
- {
Button4, XK_ANY_MOD, "\031"
},
- {
Button5, XK_ANY_MOD, "\005"
},
+ /*
mask button function argument
*/
+ {
XK_ANY_MOD, Button4, ttysend, {.s = "\031"}
},
+ {
XK_ANY_MOD, Button5, ttysend, {.s = "\005"}
},
};
/* Internal keyboard shortcuts. */
};
/* Internal keyboard shortcuts. */