kwin/autotests/wayland
Martin Gräßlin bc25677caf Strut sanity checking: ignore struts which would exclude a complete screen
Summary:
Mostly meant for multi-screen setups: we don't want that a strut set on
a window on screen 0 results in screen 1 completely being excluded. Even
if that's strictly seen a client bug, it's better to just ignore the
strut from KWin's side.

The sanity check is implemented in Client::adjustedClientArea.

From a pure standard point of view this change is a EWMH violation and
thus can cause regressions: struts by clients no longer working.

A test case for struts is added, including some invalid combinations
whose strut is ignored with this change.

Reviewers: #plasma

Subscribers: plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1386
2016-04-12 16:55:19 +02:00
..
data/anim-data-delete-effect [autotest] Don't crash when cancel animation from animationEnded in scripted effect 2016-02-17 13:59:55 +01:00
CMakeLists.txt Strut sanity checking: ignore struts which would exclude a complete screen 2016-04-12 16:55:19 +02:00
debug_console_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
decoration_input_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
dont_crash_cancel_animation.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
dont_crash_glxgears.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
input_stacking_order.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
internal_window.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
kwin_wayland_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
kwin_wayland_test.h Fix typo 2016-02-11 09:34:19 +01:00
lockscreen.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
move_resize_window_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
platformcursor.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
pointer_input.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
quick_tiling_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
start_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
struts_test.cpp Strut sanity checking: ignore struts which would exclude a complete screen 2016-04-12 16:55:19 +02:00
touch_input_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
transient_no_input_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
transient_placement.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00