summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMouad Alami <mouad@alami.xyz>2026-05-22 11:43:36 +0100
committerMouad Alami <mouad@alami.xyz>2026-05-22 11:43:36 +0100
commitc967c09da310e912da720cef20c46246721bdb96 (patch)
tree625a0c406511004b89480d834c1bf95d2ae84283
parent4650e67bf8dc69e0e55e637e8001e704c980cfe7 (diff)
disabled sending tty keys with mouse scrollHEADmain
-rw-r--r--config.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/config.h b/config.h
index bcd53ca..3731422 100644
--- a/config.h
+++ b/config.h
@@ -174,10 +174,8 @@ static uint forcemousemod = ShiftMask;
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
- { ShiftMask, Button4, kscrollup, {.i = 1} },
- { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
- { ShiftMask, Button5, kscrolldown, {.i = 1} },
- { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} },
+ { XK_ANY_MOD, Button4, kscrollup, {.i = 1} },
+ { XK_ANY_MOD, Button5, kscrolldown, {.i = 1} },
};
/* Internal keyboard shortcuts. */