From 335367b88d8b7e14e7e64a66eee94ba6234de1cf Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 11 Apr 2021 16:25:00 +0200 Subject: Remove `scrollback` feature. Squashed commit of the following: commit aab2886e03e4a239aca6e013454864734b669f76 Author: Mateja Date: Sun Apr 11 16:10:22 2021 +0200 Revert "Applied first `scrollback` patch." This reverts commit e2a49699774c0256f6c745c55f42c7c56a5e0d95. commit 16f52eb7d91426aec2f92dd46d90031402567889 Author: Mateja Date: Sun Apr 11 16:08:30 2021 +0200 Revert "Applied second `scrollback` patch." This reverts commit 09f652d8aff93ba8b7e96d07a58c1aa520f44a2f. commit 9b55f3b7607c44d1c26353d3e9d6d23d59758195 Author: Mateja Date: Sun Apr 11 16:08:18 2021 +0200 Revert "Applied third `scrollback` patch." This reverts commit c2131a689c5b83d2f5015f5afdce5ab3bc58e734. commit 0a2f1c12ae3e9134df6b92f1a9443369f8fac591 Author: Mateja Date: Sun Apr 11 16:06:48 2021 +0200 Revert "Add `scrollback` to README." This reverts commit 1c354fe11695ffa5d00bcc86ecb84c7edb1fd7b6. --- x.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'x.c') diff --git a/x.c b/x.c index 39bd8d5..05cdc7b 100644 --- a/x.c +++ b/x.c @@ -35,7 +35,6 @@ typedef struct { void (*func)(const Arg *); const Arg arg; uint release; - int altscrn; /* 0: don't care, -1: not alt screen, 1: alt screen */ } MouseShortcut; typedef struct { @@ -463,7 +462,6 @@ mouseaction(XEvent *e, uint release) for (ms = mshortcuts; ms < mshortcuts + LEN(mshortcuts); ms++) { if (ms->release == release && ms->button == e->xbutton.button && - (!ms->altscrn || (ms->altscrn == (tisaltscr() ? 1 : -1))) && (match(ms->mod, state) || /* exact or forced */ match(ms->mod, state & ~forcemousemod))) { ms->func(&(ms->arg)); -- cgit v1.2.3