kwin/autotests/integration
David Edmundson bc83065ceb Handle XdgShell window geometry in configure request sizes
Summary:
The size passed to an XDG shell configure request should match the
window size of the given window, we don't want to include the size of
any shadows that may be drawn by the client.

Kwin has the same concept of geometry for both window management, input
and rendering.

In order to approach this in a way that does not risk any regressions
with kwin's current structure AbstractClient::geometry remains the
canonical source and we handle the window within that internally within
ShellClient treating the windowGeometry as a set of margins from this.

This is part of a much bigger task (T10867). This patch addresses
windows growing when starting a drag based resize.

BUG: 403376

Test Plan:
Unit test
gtk3-demo

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D20937
2019-05-10 16:34:43 +01:00
..
data
effects Use more accurate name for Workspace::getMovingClient method 2019-04-22 11:12:22 +03:00
fakes
helper [autotests] Fix race condition in ShellClient::testUnresponsiveWindow 2019-02-28 02:09:33 +00:00
scripting Fix minor EBN issues 2018-08-29 21:02:16 +03:00
activities_test.cpp Fix the way how we quit kactivitymanagerd from the unit test 2018-11-09 17:27:07 +01:00
buffer_size_change_test.cpp Remove unnecessary flushs in new buffer size change test 2019-02-21 23:42:47 +01:00
CMakeLists.txt [autotests] Sub-surface resize test 2019-02-21 23:33:32 +01:00
colorcorrect_nightcolor_test.cpp [autotests] Stabilise colorcorrect test 2018-11-30 11:37:41 +00:00
dbus_interface_test.cpp Port window specific rules dialog to DBus 2018-12-31 07:58:12 +01:00
debug_console_test.cpp
decoration_input_test.cpp [autotests] Update tests to use stable version of xdg-shell 2019-01-20 13:52:30 +02:00
desktop_window_x11_test.cpp
dont_crash_aurorae_destroy_deco.cpp [autotests] Don't check whether there is a /dev/dri/card0 2019-01-12 07:36:28 +01:00
dont_crash_cancel_animation.cpp
dont_crash_cursor_physical_size_empty.cpp [autotests] Update tests to use stable version of xdg-shell 2019-01-20 13:52:30 +02:00
dont_crash_empty_deco.cpp [autotests] Don't check whether there is a /dev/dri/card0 2019-01-12 07:36:28 +01:00
dont_crash_glxgears.cpp
dont_crash_no_border.cpp [autotests] Update tests to use stable version of xdg-shell 2019-01-20 13:52:30 +02:00
dont_crash_reinitialize_compositor.cpp [autotests] Don't check whether there is a /dev/dri/card0 2019-01-12 07:36:28 +01:00
dont_crash_useractions_menu.cpp
generic_scene_opengl_test.cpp Restrict available supported compositors based on first initialized one 2019-02-22 16:59:08 +01:00
generic_scene_opengl_test.h
globalshortcuts_test.cpp
idle_inhibition_test.cpp [wayland] Don't honor the idle inhibitor object if the surface is not visible 2019-01-11 15:14:16 +02:00
input_stacking_order.cpp
internal_window.cpp Support CriticalNotification type and place it in a CriticalNotificationLayer 2019-05-02 10:29:38 +02:00
keyboard_layout_test.cpp Fix KeyboardLayoutTest::testNumLock 2018-11-15 19:01:51 +01:00
keymap_creation_failure_test.cpp
kwin_wayland_test.cpp [wayland] Keep application startup flow inside main_wayland 2019-02-23 12:18:09 +00:00
kwin_wayland_test.h [wayland] Finish initialising ShellClient only when commited to the surface 2019-02-26 13:51:28 +00:00
kwinbindings_test.cpp
lockscreen.cpp Use more accurate name for Workspace::getMovingClient method 2019-04-22 11:12:22 +03:00
maximize_test.cpp [wayland] Place all toplevels before the first configure 2019-04-09 11:15:02 +01:00
modifier_only_shortcut_test.cpp
move_resize_window_test.cpp Use more accurate name for Workspace::getMovingClient method 2019-04-22 11:12:22 +03:00
no_global_shortcuts_test.cpp Introduce a command line option to disable any kind of global shortcuts 2018-12-13 19:36:28 +01:00
no_xdg_runtime_dir_test.cpp
plasma_surface_test.cpp Support CriticalNotification type and place it in a CriticalNotificationLayer 2019-05-02 10:29:38 +02:00
plasmawindow_test.cpp [autotests] Don't check whether there is a /dev/dri/card0 2019-01-12 07:36:28 +01:00
platformcursor.cpp
pointer_constraints_test.cpp [autotests] Update tests to use stable version of xdg-shell 2019-01-20 13:52:30 +02:00
pointer_input.cpp [wayland] Don't use hardcoded move-resize cursor 2018-12-31 12:35:01 +02:00
quick_tiling_test.cpp Use more accurate name for Workspace::getMovingClient method 2019-04-22 11:12:22 +03:00
scene_opengl_es_test.cpp
scene_opengl_shadow_test.cpp [autotests] Don't check whether there is a /dev/dri/card0 2019-01-12 07:36:28 +01:00
scene_opengl_test.cpp
scene_qpainter_shadow_test.cpp
scene_qpainter_test.cpp Restrict available supported compositors based on first initialized one 2019-02-22 16:59:08 +01:00
screen_changes_test.cpp
screenedge_client_show_test.cpp
shade_test.cpp
shell_client_rules_test.cpp [autotests] Update tests to use stable version of xdg-shell 2019-01-20 13:52:30 +02:00
shell_client_test.cpp Handle XdgShell window geometry in configure request sizes 2019-05-10 16:34:43 +01:00
showing_desktop_test.cpp
stacking_order_test.cpp [autotests] Add tests for keep-above and keep-below states 2019-01-01 17:29:14 +02:00
start_test.cpp Introduce a command line option to disable any kind of global shortcuts 2018-12-13 19:36:28 +01:00
struts_test.cpp Use more accurate name for Workspace::getMovingClient method 2019-04-22 11:12:22 +03:00
tabbox_test.cpp
test_helpers.cpp [wayland] Finish initialising ShellClient only when commited to the surface 2019-02-26 13:51:28 +00:00
touch_input_test.cpp Hide mouse cursor when interacting with touch screen 2018-12-13 18:55:46 +01:00
transient_no_input_test.cpp [wayland] XdgPopup Positioning 2018-10-20 17:17:59 +01:00
transient_placement.cpp [autotests] Check the configure request sent to popups 2019-02-26 13:41:00 +00:00
virtual_desktop_test.cpp [autotests] Update tests to use stable version of xdg-shell 2019-01-20 13:52:30 +02:00
window_rules_test.cpp Re-evaluate the window rules when the window class of a Client changes 2018-11-07 09:33:39 +01:00
window_selection_test.cpp Rework InputDeviceHandler focus tracking 2018-12-02 21:36:11 +01:00
x11_client_test.cpp Fix captions with non-BMP characters 2019-04-26 10:52:57 +02:00
xwayland_input_test.cpp
xwayland_selections_test.cpp Remove X clipboard sync helper and rename its autotest 2019-02-19 12:30:43 +01:00