https://bugs.kde.org/show_bug.cgi?id=393167

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/bdf348c603b8e342af2d6c97a
                   |                            |b42b3703fd02813

--- Comment #24 from David Edmundson <[email protected]> ---
Git commit bdf348c603b8e342af2d6c97ab42b3703fd02813 by David Edmundson.
Committed on 23/10/2018 at 11:37.
Pushed by davidedmundson into branch 'master'.

[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.

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

M  +2    -0    placement.cpp

https://commits.kde.org/kwin/bdf348c603b8e342af2d6c97ab42b3703fd02813

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to