kwin/autotests/integration/effects
David Edmundson 2bad2b48fe [wayland] Finish initialising ShellClient only when commited to the surface
Summary:
Everything on the wl_surface is double buffered.

When we create an XdgShell toplevel or popup we shouldn't treat it as
attached until it's committed to the surface.

A client should commit the surface after it's sent it's initial state of
the Xdg topLevel; minimumSize, title, app_id, etc.

By blocking sending configure events we will have flushed the correct
initial state before sending a single atomic correct event to the
client. It also adds a hook to re-evaluate rules now that all properties
are set.

Arguably this applies to WlShellSurface too, but I've left it unchanged
as it's deprecated and hard to verify real client behaviour.

Test Plan: Ran all unit tests

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18583
2019-02-26 13:51:28 +00:00
..
scripts [scripting] Introduce complete function 2018-11-17 13:44:20 +02:00
CMakeLists.txt [autotests] Test maximize animation 2019-02-01 13:50:40 +02:00
desktop_switching_animation_test.cpp [autotests] Test desktop switching animations 2019-02-01 13:50:40 +02:00
fade_test.cpp
maximize_animation_test.cpp [wayland] Finish initialising ShellClient only when commited to the surface 2019-02-26 13:51:28 +00:00
minimize_animation_test.cpp [autotests] Test minimize animations 2019-02-01 13:50:40 +02:00
popup_open_close_animation_test.cpp [autotests] Test popup open/close animations 2019-01-08 15:48:22 +02:00
scripted_effects_test.cpp [libkwineffects] Make AnimationEffect::AniMap protected 2019-02-26 11:37:44 +02:00
slidingpopups_test.cpp [autotests] Don't check whether there is a /dev/dri/card0 2019-01-12 07:36:28 +01:00
toplevel_open_close_animation_test.cpp [autotests] Don't check whether there is a /dev/dri/card0 2019-01-12 07:36:28 +01:00
translucency_test.cpp
windowgeometry_test.cpp
wobbly_shade_test.cpp [autotests] Use unloadAllEffects 2019-01-20 13:52:30 +02:00