Skip to content

xdg-shell refactor

Kirill Primak requested to merge vyivel/wlroots:xdg-shell-cleanup into master

See individual commits.

Sway patch: https://github.com/swaywm/sway/pull/6664

Breaking changes

  • All wlr_xdg_toplevel_*() functions now take wlr_xdg_toplevel as the main parameter.
  • All wlr_xdg_popup_*() functions now take wlr_xdg_popup as the main parameter.
  • wlr_xdg_toplevel_*_event structs now have a wlr_xdg_toplevel field instead of wlr_xdg_surface.
  • wlr_xdg_toplevel::parent is now wlr_xdg_toplevel instead of wlr_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.
Edited by Kirill Primak

Merge request reports