xdg-shell refactor
See individual commits.
Sway patch: https://github.com/swaywm/sway/pull/6664
Breaking changes
- All
wlr_xdg_toplevel_*()
functions now takewlr_xdg_toplevel
as the main parameter. - All
wlr_xdg_popup_*()
functions now takewlr_xdg_popup
as the main parameter. -
wlr_xdg_toplevel_*_event
structs now have awlr_xdg_toplevel
field instead ofwlr_xdg_surface
. -
wlr_xdg_toplevel::parent
is nowwlr_xdg_toplevel
instead ofwlr_xdg_surface
. -
wlr_xdg_toplevel_set_fullscreen_event
is removed. - All
wlr_xdg_surface
signals now have NULL as their argument. - All
wlr_xdg_toplevel
signals which don't have an associated event struct now have NULL as their argument.