summaryrefslogtreecommitdiffstats
path: root/shell-term-fm
diff options
context:
space:
mode:
authorPavel Vinogradov2021-11-20 18:47:26 -0500
committerPavel Vinogradov2021-11-20 18:47:26 -0500
commitaef03d0961026da75c6ab8386e522b823b67c9b4 (patch)
tree9814d6cf72c00aef4073ee0381c7e7d0804c7771 /shell-term-fm
parent7466c4c3204a04f12996ed94d5435619959279a2 (diff)
shell-term-fm/st: version 0.8.4
Diffstat (limited to 'shell-term-fm')
-rwxr-xr-xshell-term-fm/st/DETAILS4
-rw-r--r--shell-term-fm/st/HISTORY4
-rw-r--r--shell-term-fm/st/patches/st-hidecursor-0.8.diff22
3 files changed, 17 insertions, 13 deletions
diff --git a/shell-term-fm/st/DETAILS b/shell-term-fm/st/DETAILS
index 5728a68478..45300c5555 100755
--- a/shell-term-fm/st/DETAILS
+++ b/shell-term-fm/st/DETAILS
@@ -1,6 +1,6 @@
SPELL=st
- VERSION=0.8.2
- SOURCE_HASH=sha512:eaaf5f2fe050ee768d16a9c8c295ba13315775b3a8a3201e020237a3dd217bfb811832d58477249000596289a6cb3287fbb39d6327fc90986af1c363e4b5bf8d
+ VERSION=0.8.4
+ SOURCE_HASH=sha512:f6f95081f9d09d442228bac1149d75d36a9f4f049b5504cf5ce00b353563ff92c62a2628ce728663fec107a14bea0eeb22b7a72804c37090de33819243d7512a
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=https://dl.suckless.org/st/$SOURCE
diff --git a/shell-term-fm/st/HISTORY b/shell-term-fm/st/HISTORY
index b3a6d3501f..f40e595ff1 100644
--- a/shell-term-fm/st/HISTORY
+++ b/shell-term-fm/st/HISTORY
@@ -1,3 +1,7 @@
+2021-11-20 Pavel Vinogradov <public@sourcemage.org>
+ * DETAILS: version 0.8.4
+ * patches/st-hidecursor-0.8.diff: updated patch
+
2019-09-17 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 0.8.2
* INSTALL, PRE_BUILD: Avoid editing config.mk
diff --git a/shell-term-fm/st/patches/st-hidecursor-0.8.diff b/shell-term-fm/st/patches/st-hidecursor-0.8.diff
index 94e9781bbb..4895a66311 100644
--- a/shell-term-fm/st/patches/st-hidecursor-0.8.diff
+++ b/shell-term-fm/st/patches/st-hidecursor-0.8.diff
@@ -1,8 +1,8 @@
diff --git a/x.c b/x.c
-index d43a529..599696f 100644
+index e5f1737..7e759b0 100644
--- a/x.c
+++ b/x.c
-@@ -96,6 +96,11 @@ typedef struct {
+@@ -103,6 +103,11 @@ typedef struct {
Draw draw;
Visual *vis;
XSetWindowAttributes attrs;
@@ -14,7 +14,7 @@ index d43a529..599696f 100644
int scr;
int isfixed; /* is fixed geometry? */
int l, t; /* left and top offset */
-@@ -649,6 +654,13 @@ brelease(XEvent *e)
+@@ -698,6 +703,13 @@ brelease(XEvent *e)
void
bmotion(XEvent *e)
{
@@ -25,10 +25,10 @@ index d43a529..599696f 100644
+ xsetpointermotion(0);
+ }
+
- if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
+ if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forcemousemod)) {
mousereport(e);
return;
-@@ -994,10 +1006,10 @@ void
+@@ -1099,10 +1111,10 @@ void
xinit(int cols, int rows)
{
XGCValues gcvalues;
@@ -39,9 +39,9 @@ index d43a529..599696f 100644
+ Pixmap blankpm;
if (!(xw.dpy = XOpenDisplay(NULL)))
- die("Can't open display\n");
-@@ -1073,8 +1085,9 @@ xinit(int cols, int rows)
- die("XCreateIC failed. Could not obtain input method.\n");
+ die("can't open display\n");
+@@ -1166,8 +1178,9 @@ xinit(int cols, int rows)
+ }
/* white cursor, black outline */
- cursor = XCreateFontCursor(xw.dpy, mouseshape);
@@ -52,7 +52,7 @@ index d43a529..599696f 100644
if (XParseColor(xw.dpy, xw.cmap, colorname[mousefg], &xmousefg) == 0) {
xmousefg.red = 0xffff;
-@@ -1088,7 +1101,10 @@ xinit(int cols, int rows)
+@@ -1181,7 +1194,10 @@ xinit(int cols, int rows)
xmousebg.blue = 0x0000;
}
@@ -64,7 +64,7 @@ index d43a529..599696f 100644
xw.xembed = XInternAtom(xw.dpy, "_XEMBED", False);
xw.wmdeletewin = XInternAtom(xw.dpy, "WM_DELETE_WINDOW", False);
-@@ -1571,6 +1587,8 @@ unmap(XEvent *ev)
+@@ -1673,6 +1689,8 @@ unmap(XEvent *ev)
void
xsetpointermotion(int set)
{
@@ -73,7 +73,7 @@ index d43a529..599696f 100644
MODBIT(xw.attrs.event_mask, set, PointerMotionMask);
XChangeWindowAttributes(xw.dpy, xw.win, CWEventMask, &xw.attrs);
}
-@@ -1689,6 +1707,12 @@ kpress(XEvent *ev)
+@@ -1793,6 +1811,12 @@ kpress(XEvent *ev)
Status status;
Shortcut *bp;