Skip to content

wlr_surface: walk up surfaces in reverse order

This displays the last surface up in front.

This is more of a monkeying patch (came up with FF-wayland as well, subsurfaces drawn for popups would be at the bottom -- FF draws a tree of surface with one root and two children, the order of the children was wrong). Now that it's done it kind of makes sense too me, but maybe we should fix the order in which the subsurfaces are happened instead? Anyway, RFC.

Merge request reports