summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2011-02-02 12:28:38 +0000
committerTor Andersson <tor@ghostscript.com>2011-02-02 12:28:38 +0000
commit2ac369be5bc4254b1b1426c23d2e6010d4e0b0dd (patch)
tree3a96648cd1857fbfd211c247382a091bfc904761 /apps
parent170c7930be0f73d4e0c63ba72b66d86802065990 (diff)
downloadmupdf-2ac369be5bc4254b1b1426c23d2e6010d4e0b0dd.tar.xz
Also set window title with XStoreName.
Diffstat (limited to 'apps')
-rw-r--r--apps/x11_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c
index 1fcc8b4c..207c0f56 100644
--- a/apps/x11_main.c
+++ b/apps/x11_main.c
@@ -202,6 +202,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