projects
/
suckless
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56c58a
)
Now the Shortcuts are more consistent.
author
Christoph Lohmann
<20h@r-36.net>
Sat, 31 Oct 2015 08:29:04 +0000
(09:29 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Sat, 31 Oct 2015 08:29:04 +0000
(09:29 +0100)
Keep the debile happy.
config.def.h
patch
|
blob
|
history
st.c
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index 860ce3d68781d4232b3dd9030ac87cc86e75c499..fd09d72b7cde7e477b66a08ce0a40175ff72f288 100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-134,7
+134,7
@@
static unsigned int defaultunderline = 7;
* Internal mouse shortcuts.
* Beware that overloading Button1 will disable the selection.
*/
-static Mouse
key
mshortcuts[] = {
+static Mouse
Shortcut
mshortcuts[] = {
/* button mask string */
{ Button4, XK_ANY_MOD, "\031" },
{ Button5, XK_ANY_MOD, "\005" },
diff --git
a/st.c
b/st.c
index b2a4fff18d17c3a952adad0358cb5ee17e040ca5..386e6c01b32ff91338d32218fc9a0eae97e37336 100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-275,7
+275,7
@@
typedef struct {
uint b;
uint mask;
char *s;
-} Mouse
key
;
+} Mouse
Shortcut
;
typedef struct {
KeySym k;
@@
-944,7
+944,7
@@
void
bpress(XEvent *e)
{
struct timespec now;
- Mouse
key
*mk;
+ Mouse
Shortcut
*mk;
if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
mousereport(e);