summaryrefslogtreecommitdiff
path: root/mut
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-18 17:37:26 +0100
committerMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-18 17:37:26 +0100
commitda277262878277256140156c9074e243c59f4a6c (patch)
treef93c590d609611fc62aa0405ba070c1d000b66ad /mut
parent3203ee4049383fbdc32e002e95640126ce679e3d (diff)
add surf patch
Diffstat (limited to 'mut')
-rw-r--r--mut/surf/patches/scroll-message-as-signed-char.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/mut/surf/patches/scroll-message-as-signed-char.patch b/mut/surf/patches/scroll-message-as-signed-char.patch
new file mode 100644
index 0000000..2737e6e
--- /dev/null
+++ b/mut/surf/patches/scroll-message-as-signed-char.patch
@@ -0,0 +1,27 @@
+diff --git a/mut/surf/surf.c b/mut/surf/surf.c
+index af0fa74..bcd8d6a 100644
+--- a/mut/surf/surf.c
++++ b/mut/surf/surf.c
+@@ -1856,7 +1856,7 @@ zoom(Client *c, const Arg *a)
+ static void
+ msgext(Client *c, char type, const Arg *a)
+ {
+- static char msg[MSGBUFSZ];
++ static signed char msg[MSGBUFSZ];
+ int ret;
+
+ if (spair[0] < 0)
+diff --git a/mut/surf/webext-surf.c b/mut/surf/webext-surf.c
+index d087219..7eeb55f 100644
+--- a/mut/surf/webext-surf.c
++++ b/mut/surf/webext-surf.c
+@@ -38,7 +38,8 @@ msgsurf(guint64 pageid, const char *s)
+ static gboolean
+ readsock(GIOChannel *s, GIOCondition c, gpointer unused)
+ {
+- static char js[48], msg[MSGBUFSZ];
++ static char js[48];
++ static signed char msg[MSGBUFSZ];
+ WebKitWebPage *page;
+ JSCContext *jsc;
+ GError *gerr = NULL;