From 01a237bd5c96da5c4294b20e5093881008401b66 Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Sat, 25 Nov 2023 12:42:38 -0600 Subject: send wl_surface.enter before initial commit It's not necessary but it'll help clients to render a perfect first frame --- dwl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dwl.c b/dwl.c index 6a96179..09d3ea0 100644 --- 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 -- cgit v1.2.3