diff --git a/types/scene/drag_icon.c b/types/scene/drag_icon.c index c7afd5c82..84b202c3d 100644 --- a/types/scene/drag_icon.c +++ b/types/scene/drag_icon.c @@ -60,8 +60,6 @@ struct wlr_scene_tree *wlr_scene_drag_icon_create( return NULL; } - wlr_scene_node_set_enabled(&icon->tree->node, drag_icon->surface->mapped); - icon->tree_destroy.notify = drag_icon_handle_tree_destroy; wl_signal_add(&icon->tree->node.events.destroy, &icon->tree_destroy); icon->drag_icon_surface_commit.notify = drag_icon_handle_surface_commit; diff --git a/types/scene/layer_shell_v1.c b/types/scene/layer_shell_v1.c index 86e8a3494..4ae736ddf 100644 --- a/types/scene/layer_shell_v1.c +++ b/types/scene/layer_shell_v1.c @@ -160,8 +160,5 @@ struct wlr_scene_layer_surface_v1 *wlr_scene_layer_surface_v1_create( wl_signal_add(&layer_surface->events.destroy, &scene_layer_surface->layer_surface_destroy); - wlr_scene_node_set_enabled(&scene_layer_surface->tree->node, - layer_surface->surface->mapped); - return scene_layer_surface; } diff --git a/types/scene/xdg_shell.c b/types/scene/xdg_shell.c index a1592782b..ed792633d 100644 --- a/types/scene/xdg_shell.c +++ b/types/scene/xdg_shell.c @@ -93,8 +93,6 @@ struct wlr_scene_tree *wlr_scene_xdg_surface_create( wl_signal_add(&xdg_surface->surface->events.commit, &scene_xdg_surface->xdg_surface_commit); - wlr_scene_node_set_enabled(&scene_xdg_surface->tree->node, - xdg_surface->surface->mapped); scene_xdg_surface_update_position(scene_xdg_surface); return scene_xdg_surface->tree;