184df50d3e
This way the shell can know when a surface has been unmapped by checking the value returned by weston_surface_is_mapped(surface). The configure handlers have now width and height parameters, so they do not need anymore to check manually the buffer size. If a surface's buffer is NULL the width and height passed to the configure are both 0. Configure is now only called after an attach. The variable weston_surface.pending.newly_attached is set to 1 on attach, and after the configure call is reset to 0. |
||
---|---|---|
.. | ||
.gitignore | ||
button-test.c | ||
event-test.c | ||
keyboard-test.c | ||
Makefile.am | ||
matrix-test.c | ||
setbacklight.c | ||
surface-global-test.c | ||
surface-test.c | ||
text-test.c | ||
weston-test-client-helper.c | ||
weston-test-client-helper.h | ||
weston-test-runner.c | ||
weston-test-runner.h | ||
weston-test.c | ||
weston-tests-env | ||
xwayland-test.c |