tNow the Shortcuts are more consistent. - st - [fork] customized build of st, t… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e2aa03e6b71436e1c9207b01777baa16b7a00ea5 | |
parent f56c58a968c1b3ddae76864bc9e27e5b9cc055c4 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 31 Oct 2015 09:29:04 +0100 | |
Now the Shortcuts are more consistent. | |
Keep the debile happy. | |
Diffstat: | |
M config.def.h | 2 +- | |
M st.c | 4 ++-- | |
2 files changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/config.def.h b/config.def.h | |
t@@ -134,7 +134,7 @@ static unsigned int defaultunderline = 7; | |
* Internal mouse shortcuts. | |
* Beware that overloading Button1 will disable the selection. | |
*/ | |
-static Mousekey mshortcuts[] = { | |
+static MouseShortcut mshortcuts[] = { | |
/* button mask string */ | |
{ Button4, XK_ANY_MOD, "\031" }, | |
{ Button5, XK_ANY_MOD, "\005" }, | |
diff --git a/st.c b/st.c | |
t@@ -275,7 +275,7 @@ typedef struct { | |
uint b; | |
uint mask; | |
char *s; | |
-} Mousekey; | |
+} MouseShortcut; | |
typedef struct { | |
KeySym k; | |
t@@ -944,7 +944,7 @@ void | |
bpress(XEvent *e) | |
{ | |
struct timespec now; | |
- Mousekey *mk; | |
+ MouseShortcut *mk; | |
if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { | |
mousereport(e); |