summaryrefslogtreecommitdiff
blob: 46e8aae30980d5a7be64a748b80b5f142b69e68f (plain)
1
2
3
4
5
6
7
8
9
10
--- src/ui/ui-drv/x11/ui_x11.c.orig
+++ src/ui/ui-drv/x11/ui_x11.c
@@ -430,6 +430,7 @@
   replay = XCreateFontCursor (d->display, XC_dot);
   if (d->truecolor || d->privatecolormap)
     x11_driver.flags &= ~RANDOM_PALETTE_SIZE;
+  xupdate_size (d); /* get real window size (#452284) --JEH */
   if (!alloc_image (d))
     {
       xfree_display (d);