aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2015-11-01 10:53:56 +0800
committerChristoph Lohmann <20h@r-36.net>2015-11-01 08:23:26 +0100
commitf0398db4d172e838ef4b4ae55db3fb6a6fee6717 (patch)
tree6572273479ea008f6e5ea2f4603fb5ff6fd1d3a9
parente2aa03e6b71436e1c9207b01777baa16b7a00ea5 (diff)
Now the mshortcuts are even more consistent.
Keep everyone happy Signed-off-by: Christoph Lohmann <20h@r-36.net>
-rw-r--r--st.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/st.c b/st.c
index 386e6c0..65a1866 100644
--- a/st.c
+++ b/st.c
@@ -944,17 +944,17 @@ void
bpress(XEvent *e)
{
struct timespec now;
- MouseShortcut *mk;
+ MouseShortcut *ms;
if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
mousereport(e);
return;
}
- for (mk = mshortcuts; mk < mshortcuts + LEN(mshortcuts); mk++) {
- if (e->xbutton.button == mk->b
- && match(mk->mask, e->xbutton.state)) {
- ttysend(mk->s, strlen(mk->s));
+ for (ms = mshortcuts; ms < mshortcuts + LEN(mshortcuts); ms++) {
+ if (e->xbutton.button == ms->b
+ && match(ms->mask, e->xbutton.state)) {
+ ttysend(ms->s, strlen(ms->s));
return;
}
}