send wl_surface.enter before initial commit
It's not necessary but it'll help clients to render a perfect first frame
This commit is contained in:
parent
a5e068b20a
commit
01a237bd5c
1
dwl.c
1
dwl.c
|
@ -833,6 +833,7 @@ createlayersurface(struct wl_listener *listener, void *data)
|
||||||
|
|
||||||
wl_list_insert(&layersurface->mon->layers[wlr_layer_surface->pending.layer],
|
wl_list_insert(&layersurface->mon->layers[wlr_layer_surface->pending.layer],
|
||||||
&layersurface->link);
|
&layersurface->link);
|
||||||
|
wlr_surface_send_enter(wlr_layer_surface->surface, wlr_layer_surface->output);
|
||||||
|
|
||||||
/* Temporarily set the layer's current state to pending
|
/* Temporarily set the layer's current state to pending
|
||||||
* so that we can easily arrange it
|
* so that we can easily arrange it
|
||||||
|
|
Loading…
Reference in a new issue