From: Joey Hess Date: Sat, 22 Dec 2007 21:51:56 -0500 Bug-Debian: http://bugs.debian.org/452284 Subject: Get real window size Forwarded: http://code.google.com/p/gnuxaos/issues/detail?id=48 Avoid segfault on startup if the window manager forces the window to a larger size than xaos asked for. --- xaos.orig/src/ui/ui-drv/x11/ui_x11.c +++ xaos/src/ui/ui-drv/x11/ui_x11.c @@ -402,6 +402,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 (http://bugs.debian.org/452284) */ if (!alloc_image(d)) { xfree_display(d); return (0);