summaryrefslogtreecommitdiffstats
path: root/recipes/mupdf/files/wintitle.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mupdf/files/wintitle.patch')
-rw-r--r--recipes/mupdf/files/wintitle.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/mupdf/files/wintitle.patch b/recipes/mupdf/files/wintitle.patch
new file mode 100644
index 0000000000..dbcf83473d
--- /dev/null
+++ b/recipes/mupdf/files/wintitle.patch
@@ -0,0 +1,15 @@
+Upstream: http://bugs.ghostscript.com/show_bug.cgi?id=691577
+Status: pending
+
+diff --git a/apps/x11_main.c b/apps/x11_main.c
+index 395f9fd..c045863 100644
+--- a/apps/x11_main.c
++++ b/apps/x11_main.c
+@@ -198,6 +198,7 @@ void wincursor(pdfapp_t *app, int curs)
+
+ void wintitle(pdfapp_t *app, char *s)
+ {
++ XStoreName(xdpy, xwin, s);
+ #ifdef X_HAVE_UTF8_STRING
+ Xutf8SetWMProperties(xdpy, xwin, s, s, nil, 0, nil, nil, nil);
+ #else