Draw fullscreen_bg on the correct layer

This commit is contained in:
Forrest Bushstone 2023-09-25 00:26:40 -04:00
parent 342850487a
commit f637fa0cc0

2
dwl.c
View File

@ -953,7 +953,7 @@ createmon(struct wl_listener *listener, void *data)
* *
*/ */
/* updatemons() will resize and set correct position */ /* updatemons() will resize and set correct position */
m->fullscreen_bg = wlr_scene_rect_create(layers[LyrFS], 0, 0, fullscreen_bg); m->fullscreen_bg = wlr_scene_rect_create(layers[LyrBg], 0, 0, fullscreen_bg);
wlr_scene_node_set_enabled(&m->fullscreen_bg->node, 0); wlr_scene_node_set_enabled(&m->fullscreen_bg->node, 0);
/* Adds this to the output layout in the order it was configured in. /* Adds this to the output layout in the order it was configured in.