diff options
author | Glenn Kennard <glenn.kennard@gmail.com> | 2005-05-08 18:59:05 +0200 |
---|---|---|
committer | Glenn Kennard <glenn.kennard@gmail.com> | 2005-05-08 18:59:05 +0200 |
commit | ddef3982479e4e4ffa6da745a77177193f496898 (patch) | |
tree | ff7c5cb5db69526e1c33114954c1330cbe26f123 /apps/unix/x11pdf.c | |
parent | 01830f003fdde63c6245af518a39d173079cd108 (diff) | |
download | mupdf-ddef3982479e4e4ffa6da745a77177193f496898.tar.xz |
reset cursor after rendering page
Diffstat (limited to 'apps/unix/x11pdf.c')
-rw-r--r-- | apps/unix/x11pdf.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |