diff options
author | Tor Andersson <tor@ghostscript.com> | 2005-04-25 00:18:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2005-04-25 00:18:38 +0200 |
commit | 69362d609d6e5f1b31d952308c01d01ec51c8227 (patch) | |
tree | 94a02fde8bf340fe512799ffc383caf0519ed813 | |
parent | 19a3017206189742d57932f3b57e3e8dd0cb4402 (diff) | |
download | mupdf-69362d609d6e5f1b31d952308c01d01ec51c8227.tar.xz |
set window size when window is mapped first time, configurenotify does not arrive with sawfish wm
-rw-r--r-- | apps/unix/x11pdf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c index bfe41888..95da895f 100644 --- a/apps/unix/x11pdf.c +++ b/apps/unix/x11pdf.c @@ -167,6 +167,9 @@ void winresize(pdfapp_t *app, int w, int h) if (!mapped) { + gapp.winw = w; + gapp.winh = h; + XMapWindow(xdpy, xwin); XFlush(xdpy); |