diff options
author | Christoph Lohmann <20h@r-36.net> | 2015-10-31 09:29:04 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2015-10-31 09:29:04 +0100 |
commit | e2aa03e6b71436e1c9207b01777baa16b7a00ea5 (patch) | |
tree | d131540622f459893c7c6b0e2bedae0ad578f615 | |
parent | f56c58a968c1b3ddae76864bc9e27e5b9cc055c4 (diff) | |
download | st-patched-e2aa03e6b71436e1c9207b01777baa16b7a00ea5.tar.bz2 st-patched-e2aa03e6b71436e1c9207b01777baa16b7a00ea5.tar.xz st-patched-e2aa03e6b71436e1c9207b01777baa16b7a00ea5.zip |
Now the Shortcuts are more consistent.
Keep the debile happy.
-rw-r--r-- | config.def.h | 2 | ||||
-rw-r--r-- | st.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 860ce3d..fd09d72 100644 --- a/config.def.h +++ b/config.def.h | |||
@@ -134,7 +134,7 @@ static unsigned int defaultunderline = 7; | |||
134 | * Internal mouse shortcuts. | 134 | * Internal mouse shortcuts. |
135 | * Beware that overloading Button1 will disable the selection. | 135 | * Beware that overloading Button1 will disable the selection. |
136 | */ | 136 | */ |
137 | static Mousekey mshortcuts[] = { | 137 | static MouseShortcut mshortcuts[] = { |
138 | /* button mask string */ | 138 | /* button mask string */ |
139 | { Button4, XK_ANY_MOD, "\031" }, | 139 | { Button4, XK_ANY_MOD, "\031" }, |
140 | { Button5, XK_ANY_MOD, "\005" }, | 140 | { Button5, XK_ANY_MOD, "\005" }, |
@@ -275,7 +275,7 @@ typedef struct { | |||
275 | uint b; | 275 | uint b; |
276 | uint mask; | 276 | uint mask; |
277 | char *s; | 277 | char *s; |
278 | } Mousekey; | 278 | } MouseShortcut; |
279 | 279 | ||
280 | typedef struct { | 280 | typedef struct { |
281 | KeySym k; | 281 | KeySym k; |
@@ -944,7 +944,7 @@ void | |||
944 | bpress(XEvent *e) | 944 | bpress(XEvent *e) |
945 | { | 945 | { |
946 | struct timespec now; | 946 | struct timespec now; |
947 | Mousekey *mk; | 947 | MouseShortcut *mk; |
948 | 948 | ||
949 | if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { | 949 | if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) { |
950 | mousereport(e); | 950 | mousereport(e); |