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>dev
parent
1ec0c31596
commit
d3dd6e1752
Loading…
Reference in new issue