Diffusion KWin 10ace126be21

[wayland] Make sure fullscreen windows aren't repositioned

Authored by mart on Oct 11 2019, 8:46 AM.

Description

[wayland] Make sure fullscreen windows aren't repositioned

Summary:
on X11, setFullScreen is always called after Placement::place()
so they always have the correct geometry.
on wayland, the window if is shown directly as fullscren,
is set fullscreen in init() then place() is evecuted, potentially
moving it to a wrong position and potentially even size (which happens
with maximiziong placement strategy)
so instead of place() the client needs to be explicitly set at
fullscreen geometry

Test Plan:
fullscreen windows always appear with the proper geometry
autotests still pass

Reviewers: KWin, Plasma, davidedmundson

Reviewed By: KWin, Plasma, davidedmundson

Subscribers: zzag, kwin

Tags: KWin

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

Details

Committed
martOct 11 2019, 8:46 AM
Reviewer
KWin
Differential Revision
D24542: [wayland] Make sure fullscreen windows aren't repositioned
Parents
R108:08d0c6a3bc8a: Reduce interfaces verbosity
Branches
Unknown
Tags
Unknown