surface: improve role precommit hook
Depends on !3412 (merged)
Breaking changes
-
wlr_surface_role.precommit
now also takesconst wlr_surface_state *
which is to be applied and is called before actual commit, not whenwl_surface.commit
is received.
Edited by Kirill Primak