diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-25 12:42:38 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-25 19:17:32 -0600 |
commit | 01a237bd5c96da5c4294b20e5093881008401b66 (patch) | |
tree | 133c782e58ee223a03497922082c9785dc177ff6 | |
parent | a5e068b20a04357b4fc709b1c6f3b698b4dc7094 (diff) |
send wl_surface.enter before initial commit
It's not necessary but it'll help clients to render a perfect first frame
-rw-r--r-- | dwl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |