[gs-bugs] [Bug 691577] New: x11_main.c:wintitle() doesn't seem to work for Xfbdev

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Aug 27 00:23:42 UTC 2010


           Summary: x11_main.c:wintitle() doesn't seem to work for Xfbdev
           Product: MuPDF
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: apps
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: graham.gower at gmail.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0

Mupdf's title bar does not show anything on my system (mipsel linux built with
openembedded). I assume this is because I'm using Xfbdev, but it could be
something else. I tried two different window managers and got the same "unnamed
window" behaviour.

In any event, something on my system doesn't recognise WM_LOCALE_NAME and needs

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);
     Xutf8SetWMProperties(xdpy, xwin, s, s, nil, 0, nil, nil, nil);

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list