commit 01a237bd5c96da5c4294b20e5093881008401b66
parent a5e068b20a04357b4fc709b1c6f3b698b4dc7094
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date: Sat, 25 Nov 2023 12:42:38 -0600
send wl_surface.enter before initial commit
It's not necessary but it'll help clients to render a perfect first frame
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dwl.c b/dwl.c
@@ -833,6 +833,7 @@ createlayersurface(struct wl_listener *listener, void *data)
wl_list_insert(&layersurface->mon->layers[wlr_layer_surface->pending.layer],
&layersurface->link);
+ wlr_surface_send_enter(wlr_layer_surface->surface, wlr_layer_surface->output);
/* Temporarily set the layer's current state to pending
* so that we can easily arrange it