mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 18:24:16 +00:00
Create new layer for fullscreen_bg
This commit is contained in:
parent
f637fa0cc0
commit
64b0309b54
4
dwl.c
4
dwl.c
@ -74,7 +74,7 @@
|
||||
/* enums */
|
||||
enum { CurNormal, CurPressed, CurMove, CurResize }; /* cursor */
|
||||
enum { XDGShell, LayerShell, X11Managed, X11Unmanaged }; /* client types */
|
||||
enum { LyrBg, LyrBottom, LyrTile, LyrFloat, LyrFS, LyrTop, LyrOverlay, LyrBlock, NUM_LAYERS }; /* scene layers */
|
||||
enum { LyrBg, LyrBottom, LyrFSBg, LyrTile, LyrFloat, LyrFS, LyrTop, LyrOverlay, LyrBlock, NUM_LAYERS }; /* scene layers */
|
||||
#ifdef XWAYLAND
|
||||
enum { NetWMWindowTypeDialog, NetWMWindowTypeSplash, NetWMWindowTypeToolbar,
|
||||
NetWMWindowTypeUtility, NetLast }; /* EWMH atoms */
|
||||
@ -953,7 +953,7 @@ createmon(struct wl_listener *listener, void *data)
|
||||
*
|
||||
*/
|
||||
/* updatemons() will resize and set correct position */
|
||||
m->fullscreen_bg = wlr_scene_rect_create(layers[LyrBg], 0, 0, fullscreen_bg);
|
||||
m->fullscreen_bg = wlr_scene_rect_create(layers[LyrFSBg], 0, 0, fullscreen_bg);
|
||||
wlr_scene_node_set_enabled(&m->fullscreen_bg->node, 0);
|
||||
|
||||
/* Adds this to the output layout in the order it was configured in.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user