Jonas Ådahl
b3f27de710
wayland/subsurface: Return NULL as toplevel if parent has no role
There is nothing stopping a subsurface from commiting its state before its parents role has been assigned. Thus, we need to handle meta_wayland_surface_get_toplevel() returning NULL for subsurfaces even on commit.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%