sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0dbca7ffa469b5009716f89ba357f0c4a111fd0d
parent 8c62c77d4e6601ebb5a671df138cb9b05d222507
Author: Martin Kopta <martin@kopta.eu>
Date:   Tue, 28 Jul 2015 16:18:45 +0200

Updated scrollback patch

Diffstat:
Mst.suckless.org/patches/st-scrollback.diff | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/st.suckless.org/patches/st-scrollback.diff b/st.suckless.org/patches/st-scrollback.diff @@ -1,5 +1,5 @@ diff --git a/config.def.h b/config.def.h -index 2616dea..f5215b2 100644 +index 930e468..14d94fe 100644 --- a/config.def.h +++ b/config.def.h @@ -7,6 +7,7 @@ @@ -10,7 +10,7 @@ index 2616dea..f5215b2 100644 /* * What program is execed by st depends of these precedence rules: -@@ -137,6 +138,8 @@ static Shortcut shortcuts[] = { +@@ -145,6 +146,8 @@ static Shortcut shortcuts[] = { { MODKEY|ShiftMask, XK_C, clipcopy, {.i = 0} }, { MODKEY|ShiftMask, XK_V, clippaste, {.i = 0} }, { MODKEY, XK_Num_Lock, numlock, {.i = 0} }, @@ -20,7 +20,7 @@ index 2616dea..f5215b2 100644 /* diff --git a/st.c b/st.c -index 0db3d58..59b671e 100644 +index 1df4fde..91f95a8 100644 --- a/st.c +++ b/st.c @@ -84,6 +84,8 @@ char *argv0; @@ -317,7 +317,7 @@ index 0db3d58..59b671e 100644 /* resize each row to new width, zero-pad if needed */ for (i = 0; i < minrow; i++) { term.line[i] = xrealloc(term.line[i], col * sizeof(Glyph)); -@@ -3912,11 +3980,11 @@ drawregion(int x1, int y1, int x2, int y2) +@@ -3924,11 +3992,11 @@ drawregion(int x1, int y1, int x2, int y2) term.dirty[y] = 0; specs = term.specbuf; @@ -331,7 +331,7 @@ index 0db3d58..59b671e 100644 if (new.mode == ATTR_WDUMMY) continue; if (ena_sel && selected(x, y)) -@@ -3936,7 +4004,8 @@ drawregion(int x1, int y1, int x2, int y2) +@@ -3948,7 +4016,8 @@ drawregion(int x1, int y1, int x2, int y2) if (i > 0) xdrawglyphfontspecs(specs, base, i, ox, y); } @@ -341,4 +341,3 @@ index 0db3d58..59b671e 100644 } void -