Synchronous popup layout
This is the parts of !1017 (merged) without the last part that require unreleased xdg-shell protocol.
Edited by Timm Bäder
This is the parts of !1017 (merged) without the last part that require unreleased xdg-shell protocol.