glx: don't call XMapWindow redundantly
commit315bc6a0609e780bc6ce2b0c76cc0f8edfe0bd86
authorMarek Olšák <marek.olsak@amd.com>
Fri, 29 Apr 2022 13:44:28 +0000 (29 09:44 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 30 Apr 2022 01:38:09 +0000 (30 01:38 +0000)
tree49dc9150fd99edfd66f96b3470d2f7a7bf7636d3
parentda79699bdb2d316927d151bd42161c0164021046
glx: don't call XMapWindow redundantly

piglit_get_glx_window calls it.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/659>
24 files changed:
tests/glx/glx-buffer-age.c
tests/glx/glx-copy-sub-buffer.c
tests/glx/glx-destroycontext-1.c
tests/glx/glx-destroycontext-2.c
tests/glx/glx-destroycontext-3.c
tests/glx/glx-fbo-binding.c
tests/glx/glx-make-glxdrawable-current.c
tests/glx/glx-multi-context-front.c
tests/glx/glx-multi-context-ib-1.c
tests/glx/glx-multi-context-single-window.c
tests/glx/glx-multi-window-single-context.c
tests/glx/glx-multithread-buffer.c
tests/glx/glx-multithread-makecurrent-1.c
tests/glx/glx-multithread-makecurrent-2.c
tests/glx/glx-multithread-makecurrent-3.c
tests/glx/glx-multithread-makecurrent-4.c
tests/glx/glx-multithread-texture.c
tests/glx/glx-multithread.c
tests/glx/glx-shader-sharing.c
tests/glx/glx-swap-copy.c
tests/glx/glx-swap-exchange.c
tests/glx/glx-swap-singlebuffer.c
tests/glx/glx-tfp.c
tests/spec/glx_oml_sync_control/common.c