diff options
Diffstat (limited to 'apps/unix/x11pdf.c')
-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); |