aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-11 16:25:00 +0200
committerMateja <mail@matejamaric.com>2021-04-11 16:39:29 +0200
commit335367b88d8b7e14e7e64a66eee94ba6234de1cf (patch)
tree6407c9bc248f47decccd2df201f308d8e5f94b81 /x.c
parente1efbc7d08c5661b92fbe4d15414d32ace1137ac (diff)
downloadst-335367b88d8b7e14e7e64a66eee94ba6234de1cf.tar.gz
st-335367b88d8b7e14e7e64a66eee94ba6234de1cf.zip
Remove `scrollback` feature.
Squashed commit of the following: commit aab2886e03e4a239aca6e013454864734b669f76 Author: Mateja <mail@matejamaric.com> Date: Sun Apr 11 16:10:22 2021 +0200 Revert "Applied first `scrollback` patch." This reverts commit e2a49699774c0256f6c745c55f42c7c56a5e0d95. commit 16f52eb7d91426aec2f92dd46d90031402567889 Author: Mateja <mail@matejamaric.com> Date: Sun Apr 11 16:08:30 2021 +0200 Revert "Applied second `scrollback` patch." This reverts commit 09f652d8aff93ba8b7e96d07a58c1aa520f44a2f. commit 9b55f3b7607c44d1c26353d3e9d6d23d59758195 Author: Mateja <mail@matejamaric.com> Date: Sun Apr 11 16:08:18 2021 +0200 Revert "Applied third `scrollback` patch." This reverts commit c2131a689c5b83d2f5015f5afdce5ab3bc58e734. commit 0a2f1c12ae3e9134df6b92f1a9443369f8fac591 Author: Mateja <mail@matejamaric.com> Date: Sun Apr 11 16:06:48 2021 +0200 Revert "Add `scrollback` to README." This reverts commit 1c354fe11695ffa5d00bcc86ecb84c7edb1fd7b6.
Diffstat (limited to 'x.c')
-rw-r--r--x.c2
1 files changed, 0 insertions, 2 deletions
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));