Skip to content

Split wl_compositor and wl_subcompositor implementation

Kirill Primak requested to merge vyivel/wlroots:subsurface-split-out into master

Notes

It might make sense to create compositor/ directory and split wlr_compositor.c into several parts; right now, it's the second largest C file in types/ after types/scene/wlr_scene.c, and there's more code to come.

Additions

  • wlr_surface.events.client_commit, which is called upon receiving wl_surface.commit request.

Breaking changes

  • wlr_subcompositor is not created automatically anymore on calling wlr_compositor_create(); use wlr_subcompositor_create().
  • wlr/types/wlr_surface.h has been deprecated; use wlr/types/compositor.h and wlr/types/wlr_subcompositor.h.
  • wlr_compositor.events.destroy signal is now fired with NULL argument.
Edited by Kirill Primak

Merge request reports