[wiki] [sites] [st][scrollback] Fix mouse diff patch || Ivan Tham
commit 89946af623618b65e824b892fd5d7bd7b88451df
Author: Ivan Tham <pickfire_AT_riseup.net>
Date: Mon Apr 20 23:33:50 2020 +0800
[st][scrollback] Fix mouse diff patch
diff --git a/st.suckless.org/patches/scrollback/st-scrollback-mouse-altscreen-20200416-5703aa0.diff b/st.suckless.org/patches/scrollback/st-scrollback-mouse-altscreen-20200416-5703aa0.diff
index 1d134fb5..fbade29b 100644
--- a/st.suckless.org/patches/scrollback/st-scrollback-mouse-altscreen-20200416-5703aa0.diff
+++ b/st.suckless.org/patches/scrollback/st-scrollback-mouse-altscreen-20200416-5703aa0.diff
_AT_@ -1,7 +1,7 @@
-diff --git config.def.h config.def.h
+diff --git a/config.def.h b/config.def.h
index 4b3bf15..1986316 100644
---- config.def.h
-+++ config.def.h
+--- a/config.def.h
++++ b/config.def.h
_AT_@ -163,8 +163,8 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
_AT_@ -13,7 +13,7 @@ index 4b3bf15..1986316 100644
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ XK_ANY_MOD, Button4, ttysend, {.s = ""} },
{ XK_ANY_MOD, Button5, ttysend, {.s = ""} },
-diff --git st.c st.c
+diff --git a/st.c b/st.c
index f8b6f67..dd4cb31 100644
--- st.c
+++ st.c
_AT_@ -29,7 +29,7 @@ index f8b6f67..dd4cb31 100644
void
tswapscreen(void)
{
-diff --git st.h st.h
+diff --git a/st.h b/st.h
index 1332cf1..f9ad815 100644
--- st.h
+++ st.h
_AT_@ -41,7 +41,7 @@ index 1332cf1..f9ad815 100644
void tnew(int, int);
void tresize(int, int);
void tsetdirtattr(int);
-diff --git x.c x.c
+diff --git a/x.c b/x.c
index e5f1737..b8fbd7b 100644
--- x.c
+++ x.c
Received on Mon Apr 20 2020 - 17:35:51 CEST
This archive was generated by hypermail 2.3.0
: Mon Apr 20 2020 - 17:36:50 CEST