iNow the Shortcuts are more consistent. - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit e2aa03e6b71436e1c9207b01777baa16b7a00ea5 /scm/st//commit/e2aa03e6b71436e1c9207b01777baa16b7a00ea5.gph gopher.r-36.net 70 1parent f56c58a968c1b3ddae76864bc9e27e5b9cc055c4 /scm/st//commit/f56c58a968c1b3ddae76864bc9e27e5b9cc055c4.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Sat, 31 Oct 2015 09:29:04 +0100 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iNow the Shortcuts are more consistent. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iKeep the debile happy. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 2 +- Err gopher.r-36.net 70 i st.c | 4 ++-- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i2 files changed, 3 insertions(+), 3 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/config.def.h b/config.def.h /scm/st//file/config.def.h.gph gopher.r-36.net 70 i@@ -134,7 +134,7 @@ static unsigned int defaultunderline = 7; Err gopher.r-36.net 70 i * Internal mouse shortcuts. Err gopher.r-36.net 70 i * Beware that overloading Button1 will disable the selection. Err gopher.r-36.net 70 i */ Err gopher.r-36.net 70 i-static Mousekey mshortcuts[] = { Err gopher.r-36.net 70 i+static MouseShortcut mshortcuts[] = { Err gopher.r-36.net 70 i /* button mask string */ Err gopher.r-36.net 70 i { Button4, XK_ANY_MOD, "\031" }, Err gopher.r-36.net 70 i { Button5, XK_ANY_MOD, "\005" }, Err gopher.r-36.net 70 1diff --git a/st.c b/st.c /scm/st//file/st.c.gph gopher.r-36.net 70 i@@ -275,7 +275,7 @@ typedef struct { Err gopher.r-36.net 70 i uint b; Err gopher.r-36.net 70 i uint mask; Err gopher.r-36.net 70 i char *s; Err gopher.r-36.net 70 i-} Mousekey; Err gopher.r-36.net 70 i+} MouseShortcut; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i ttypedef struct { Err gopher.r-36.net 70 i KeySym k; Err gopher.r-36.net 70 i@@ -944,7 +944,7 @@ void Err gopher.r-36.net 70 i bpress(XEvent *e) Err gopher.r-36.net 70 i { Err gopher.r-36.net 70 i struct timespec now; Err gopher.r-36.net 70 i- Mousekey *mk; Err gopher.r-36.net 70 i+ MouseShortcut *mk; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { Err gopher.r-36.net 70 i mousereport(e); Err gopher.r-36.net 70 .