mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-17 00:38:08 +02:00
When the lock surface was map()'d while the compositor was locked, wlsc_surface_configure() was never called for the lock surface. Hence, the surface->output was NULL, and the 'frame' event was never sent, causing desktop-shell to loop in dri2_swap_buffers(). Fix this by calling wlsc_surface_configure() for the lock surface always in map(). Additionally, adjust the comments in map() to make it more readable. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| compositor-drm.c | ||
| compositor-openwfd.c | ||
| compositor-wayland.c | ||
| compositor-x11.c | ||
| compositor.c | ||
| compositor.h | ||
| evdev.c | ||
| image-loader.c | ||
| Makefile.am | ||
| screenshooter.c | ||
| shell.c | ||
| switcher.c | ||
| tablet-shell.c | ||
| tty.c | ||
| xserver-launcher.c | ||