mirror of
https://github.com/swaywm/sway.git
synced 2025-01-27 05:18:49 +01:00
layer-shell: handle commits from uninitialized surfaces
Fixes: 2c69e19fd3
This commit is contained in:
parent
e8c421e917
commit
3a942f565d
1 changed files with 0 additions and 3 deletions
|
@ -205,9 +205,6 @@ static void handle_surface_commit(struct wl_listener *listener, void *data) {
|
|||
wl_container_of(listener, surface, surface_commit);
|
||||
|
||||
struct wlr_layer_surface_v1 *layer_surface = surface->layer_surface;
|
||||
if (!layer_surface->initialized) {
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t committed = layer_surface->current.committed;
|
||||
if (committed & WLR_LAYER_SURFACE_V1_STATE_LAYER) {
|
||||
|
|
Loading…
Reference in a new issue