[test/xdgtest] Create/destroy popup on click

Authored by davidedmundson on Oct 20 2018, 3:38 PM.

Description

[test/xdgtest] Create/destroy popup on click

Summary:
This allows a dev to move the window before creating the popup which
is extremely useful in testing constraints. Also makes it very easy to
mod this code into a grabbing popup for other tests.

This patch also improve the painted surfaces to show the anchor rect
around where we place the popup which is easier for visual debugging.

No library code changes

Test Plan:
Ran the test
KWin doesn't position the popup according to all constraints
Soon will

Reviewers: KWin, zzag

Reviewed By: KWin, zzag

Subscribers: zzag, kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
davidedmundsonOct 20 2018, 3:38 PM
Reviewer
KWin
Differential Revision
D16294: [test/xdgtest] Create/destroy popup on click
Parents
R127:706ec10c7172: [xdgshell] Add positioner constraint adjustment flag operators
Branches
Unknown
Tags
Unknown