summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/common/pdfapp.c2
-rw-r--r--apps/unix/x11pdf.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/apps/common/pdfapp.c b/apps/common/pdfapp.c
index 2b605faf..d87268c1 100644
--- a/apps/common/pdfapp.c
+++ b/apps/common/pdfapp.c
@@ -303,6 +303,8 @@ void pdfapp_showpage(pdfapp_t *app, int loadpage, int drawpage)
}
winrepaint(app);
+
+ wincursor(app, ARROW);
}
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c
index 95da895f..3dfddcad 100644
--- a/apps/unix/x11pdf.c
+++ b/apps/unix/x11pdf.c
@@ -140,11 +140,16 @@ void wincursor(pdfapp_t *app, int curs)
XDefineCursor(xdpy, xwin, xchand);
if (curs == WAIT)
XDefineCursor(xdpy, xwin, xcwait);
+ XFlush(xdpy);
}
void wintitle(pdfapp_t *app, char *s)
{
+#ifdef X_HAVE_UTF8_STRING
+ Xutf8SetWMProperties(xdpy, xwin, s, s, 0, 0, 0, 0, 0);
+#else
XmbSetWMProperties(xdpy, xwin, s, s, 0, 0, 0, 0, 0);
+#endif
}
void winconvert(pdfapp_t *app, fz_pixmap *image)