Diffusion KWin bdf348c603b8

[wayland] Set better placement for XDG Toplevels

Authored by davidedmundson on Oct 23 2018, 11:18 AM.

Description

[wayland] Set better placement for XDG Toplevels

Summary:
XDG Popups will have a transient parent and positional information.
XDG Toplevels can have a transient parent without having positional
information.

Currently we set that we have a transient placement hint of 0,0 which
means the newly opened children go to the top left of the parent.

This new code paths treat child top levels as dialogs centering them to
the parent.

BUG: 393167

Test Plan:
Dolphin help->about
Appeared where it does on X

Reviewers: KWin, zzag

Reviewed By: KWin, zzag

Subscribers: zzag, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16293

Details

Committed
davidedmundsonOct 23 2018, 11:37 AM
Reviewer
KWin
Differential Revision
D16293: [wayland] Set better placement for XDG Toplevels
Parents
R108:655d8af8be7d: [libkwineffects] Delete unused constant
Branches
Unknown
Tags
Unknown