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

Chad Versace chad.versace at linux.intel.com
Fri Oct 18 20:24:08 CEST 2013


On 10/18/2013 11:21 AM, Jordan Justen wrote:
> Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
>
> On Fri, 2013-10-18 at 11:12 -0700, Chad Versace wrote:
>> 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).
>>
>> CC: Jordan Justen <jordan.l.justen at intel.com>
>> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
>> ---
>>   tests/util/piglit-framework-gl/piglit_x11_framework.c | 19 +++++++++++++++++++
>>   1 file changed, 19 insertions(+)

Committed to master. Jordan confirmed that this patch fixed his bug.



More information about the Piglit mailing list