don't assume we get a ConfigureNotify event
authorTony Lainson <t.lainson@gmail.com>
Tue, 10 Nov 2015 03:54:16 +0000 (14:54 +1100)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Tue, 10 Nov 2015 15:56:37 +0000 (16:56 +0100)
commit8b52c85dd1fb145b1012cd508ffd74465db7025a
tree3d56b196eda9840a91a54364685691fbda8f7eac
parent4ca44387e65a96a93b56ed1491f5f90c5e25d948
don't assume we get a ConfigureNotify event

If the window manager maps our window at the requested size, we may not get a
ConfigureNotify event.  This happens e.g. under ratpoison.

The result is that xw.uw and xw.uh are never set, so text is too small and
pngscale() tries to divide by 0.
sent.c