emersion / rootston

Example compositor based on wlroots
MIT License
4 stars 3 forks source link

Handle stacks (xdg_toplevel::set_parent relationships) #1

Open dos1 opened 5 years ago

dos1 commented 5 years ago

So far, rootston simply ignored the parent-child relationships as set by xdg_toplevel::set_parent. This PR implements the behavior specified by the protocol, so the child surfaces stay on top of their parents.

I've renamed children member to child_surfaces in order to try to make it a bit less confusing, as it has nothing to do with a member called parent.