diff options
| author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-07 16:26:37 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-24 16:44:09 -0600 | 
| commit | 92e7752203eb7812f2d333f8c6af1963fa743c09 (patch) | |
| tree | 691c0624dcb4801e366462dd89cd50206ce9c4d7 /dwl.c | |
| parent | 66828780094280064f5d3c0cb2982d28b0557e9e (diff) | |
disable client's scene node after create it (only XDGShell)
will be enabled when setting up its monitor and arrange it
Bug: https://github.com/djpohly/dwl/issues/306
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -1474,6 +1474,7 @@ mapnotify(struct wl_listener *listener, void *data)  	/* Create scene tree for this client and its border */  	c->scene = wlr_scene_tree_create(layers[LyrTile]); +	wlr_scene_node_set_enabled(&c->scene->node, c->type != XDGShell);  	c->scene_surface = c->type == XDGShell  			? wlr_scene_xdg_surface_create(c->scene, c->surface.xdg)  			: wlr_scene_subsurface_tree_create(c->scene, client_surface(c)); | 
