[Piglit] [PATCH] util/x11: Propagate window resize events to piglit_width/height

Eric Anholt eric at anholt.net
Sat Oct 19 02:19:17 CEST 2013


Chad Versace <chad.versace at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131018/d1d2ff55/attachment.pgp>


More information about the Piglit mailing list