Split wl_compositor and wl_subcompositor implementation
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 receivingwl_surface.commit
request.
Breaking changes
-
wlr_subcompositor
is not created automatically anymore on callingwlr_compositor_create()
; usewlr_subcompositor_create()
. -
wlr/types/wlr_surface.h
has been deprecated; usewlr/types/compositor.h
andwlr/types/wlr_subcompositor.h
. -
wlr_compositor.events.destroy
signal is now fired with NULL argument.