summaryrefslogtreecommitdiff
path: root/xdg_shell.c
diff options
context:
space:
mode:
authorSimon Ser <[email protected]>2021-10-27 15:42:08 +0200
committerIsaac Freund <[email protected]>2021-10-27 16:18:10 +0200
commite17a0b7eae81901f55fce785eb090543288d5d2d (patch)
tree1f00f03f60caf57f14eafa00e02ebfeaf2598c6f /xdg_shell.c
parent45f5723ecb93fad6705bddc01e899af0bea5072d (diff)
scene: inline subsurface_tree_destroy
This is only called from one function. To destroy the wlr_scene_subsurface_tree from elsewhere, callers can destroy the scene-graph node returned by wlr_scene_subsurface_tree_create instead (just like a compositor would do). subsurface_tree_handle_surface_destroy does exactly this. Inlining avoids calling subsurface_tree_destroy by mistake.
Diffstat (limited to 'xdg_shell.c')
0 files changed, 0 insertions, 0 deletions