Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
disable client's scene node after create it
Browse files Browse the repository at this point in the history
will be enabled when setting up its monitor and arrange it

Bug: #306
  • Loading branch information
sevz17 committed Dec 9, 2022
1 parent 4ebbe9c commit 8a8a96d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,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, 0);
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));
Expand Down

0 comments on commit 8a8a96d

Please sign in to comment.