RFC: wayland: Refactor xdg-shell handling
It would be nice if xdg-surface and xdg-surface role state are in a single object so it's easier to stash them. This change refactors xdg-shell handling to allow that.
xdg-surface state now belongs to xdg-toplevel or xdg-popup state.
cc #91
Edited by Vlad Zahorodnii