aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/backend.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-10-25 18:29:24 +0200
committerSimon Ser <contact@emersion.fr>2021-11-25 18:53:12 +0100
commit585a908a014a49a718771375264ed284d4599d59 (patch)
tree6de07ccb58bf61d943d3ccb04b030da08b4c5497 /backend/drm/backend.c
parent1d3dd7fc08f22f2e82cb812ced822369e984d845 (diff)
scene: add wlr_scene_xdg_surface_create
This allows compositors to easily add an xdg_surface to the scene-graph while retaining the ability to unconstraint popups and decide their final position. Compositors can handle new popups with the wlr_xdg_shell.new_surface event, get the parent scene-graph node via wlr_xdg_popup.parent.data, create a new scene-graph node via wlr_scene_xdg_surface_tree_create, and unconstraint the popup if they want to.
Diffstat (limited to 'backend/drm/backend.c')
0 files changed, 0 insertions, 0 deletions