Chad Versace <chad.vers...@linux.intel.com> writes: > When I switched Piglit from GLUT to Waffle, I broke detection of X11 > window resizes. When the user resized the window, Piglit called > piglit_display() but neglected to update piglit_width/height. > > This patch ensures that Piglit updates piglit_width/height correctly. > > (It's amazing that it took this long for anyone to fix it. People must > rarely resize Piglit windows).
ConfigureNotify tells you the new size. And I'm not clear why you'd need to update the size at Expose time.
pgpsURY4HoUGV.pgp
Description: PGP signature
_______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit