[hackers] [st] Now the Shortcuts are more consistent. || Christoph Lohmann
commit e2aa03e6b71436e1c9207b01777baa16b7a00ea5
Author: Christoph Lohmann <20h_AT_r-36.net>
AuthorDate: Sat Oct 31 09:29:04 2015 +0100
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Sat Oct 31 09:29:04 2015 +0100
Now the Shortcuts are more consistent.
Keep the debile happy.
diff --git a/config.def.h b/config.def.h
index 860ce3d..fd09d72 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -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
index b2a4fff..386e6c0 100644
--- a/st.c
+++ b/st.c
_AT_@ -275,7 +275,7 @@ typedef struct {
uint b;
uint mask;
char *s;
-} Mousekey;
+} MouseShortcut;
typedef struct {
KeySym k;
_AT_@ -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);
Received on Sat Oct 31 2015 - 09:29:57 CET
This archive was generated by hypermail 2.3.0
: Sat Oct 31 2015 - 09:36:10 CET