From ddef3982479e4e4ffa6da745a77177193f496898 Mon Sep 17 00:00:00 2001 From: Glenn Kennard Date: Sun, 8 May 2005 18:59:05 +0200 Subject: reset cursor after rendering page --- apps/unix/x11pdf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/unix/x11pdf.c') 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) -- cgit v1.2.3