commit 89946af623618b65e824b892fd5d7bd7b88451df
parent 0d5443dbc1f399648073438180e12d928f52330b
Author: Ivan Tham <pickfire@riseup.net>
Date: Mon, 20 Apr 2020 23:33:50 +0800
[st][scrollback] Fix mouse diff patch
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
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
@@ -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
@@ -163,8 +163,8 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
@@ -13,7 +13,7 @@ index 4b3bf15..1986316 100644
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
{ XK_ANY_MOD, Button5, ttysend, {.s = "\005"} },
-diff --git st.c st.c
+diff --git a/st.c b/st.c
index f8b6f67..dd4cb31 100644
--- st.c
+++ st.c
@@ -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
@@ -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