kwin/autotests/integration
Vlad Zahorodnii a9ad59b32a Improve Workspace::outputAt()
Workspace::outputAt() casts vectors to four rectangle corners and uses
the shortest one to decide which output is the closest to the given
point.

This works poorly on dual monitor setups where on the left side you have
a monitor with landscape orientation and one with portrait orientation
on the right hand side. In that case, outputAt() will prefer the left
monitor even though the right monitor is the closest one if you cast a
perpendicular from the given point to the right monitor.

In order to improve the handling of that case, this change makes
Workspace::outputAt() compute the closest point to the output geometry
rectangle and use the squared distance as the score.
2023-03-25 21:24:59 +00:00
..
data
effects cmake: Tidy scripted effect CMakeLists.txt code 2023-03-21 07:18:27 +00:00
fakes adapt to kdecoration changes 2023-03-19 15:26:15 +00:00
helper
protocols
scripting Port to versionless QML module imports 2023-03-12 14:18:34 +00:00
activation_test.cpp
activities_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
buffer_size_change_test.cpp
CMakeLists.txt autotests: Drop night color test 2023-03-01 15:50:10 +00:00
dbus_interface_test.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
debug_console_test.cpp Make Workspace::allClientList() return all windows 2023-03-15 11:52:01 +00:00
decoration_input_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
desktop_window_x11_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
dont_crash_aurorae_destroy_deco.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
dont_crash_cancel_animation.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
dont_crash_empty_deco.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
dont_crash_glxgears.cpp Drop Workspace::clientList() 2023-03-24 22:28:46 +00:00
dont_crash_no_border.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
dont_crash_reinitialize_compositor.cpp cmake: Tidy scripted effect CMakeLists.txt code 2023-03-21 07:18:27 +00:00
dont_crash_useractions_menu.cpp
fractional_scaling_test.cpp
generic_scene_opengl_test.cpp
generic_scene_opengl_test.h
globalshortcuts_test.cpp Make Workspace::allClientList() return all windows 2023-03-15 11:52:01 +00:00
idle_inhibition_test.cpp Merge Window::minimize and Window::unminimize 2023-03-07 12:20:07 +00:00
input_stacking_order.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
inputmethod_test.cpp Replace Deleted with Window where possible 2023-03-13 14:41:44 +02:00
internal_window.cpp Make Workspace::allClientList() return all windows 2023-03-15 11:52:01 +00:00
keyboard_layout_test.cpp
keymap_creation_failure_test.cpp
kwin_wayland_test.cpp
kwin_wayland_test.h Fix -Wambiguous-reversed-operator 2023-03-14 17:46:57 +02:00
kwinbindings_test.cpp Rename Window::desktopChanged() 2023-02-25 13:15:06 +00:00
layershellv1window_test.cpp
lockscreen.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
maximize_test.cpp Adjust to KDecoration API changes 2023-03-12 13:29:36 +00:00
modifier_only_shortcut_test.cpp
move_resize_window_test.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
no_global_shortcuts_test.cpp
outputchanges_test.cpp
placement_test.cpp placement: add autotests for cascade if covering 2023-03-08 19:04:57 +00:00
plasma_surface_test.cpp Rename Window::desktopChanged() 2023-02-25 13:15:06 +00:00
plasmawindow_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
platformcursor.cpp
pointer_constraints_test.cpp
pointer_input.cpp Improve Workspace::outputAt() 2023-03-25 21:24:59 +00:00
quick_tiling_test.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
scene_opengl_es_test.cpp
scene_opengl_test.cpp
screen_changes_test.cpp
screenedge_client_show_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
screenedges_test.cpp
screens_test.cpp
shade_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
showing_desktop_test.cpp
stacking_order_test.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
struts_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
tabbox_test.cpp
test_helpers.cpp Fix -Wambiguous-reversed-operator 2023-03-14 17:46:57 +02:00
test_virtualkeyboard_dbus.cpp
tiles_test.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
touch_input_test.cpp
transient_placement.cpp Remove some include_directories() 2023-03-23 14:37:48 +02:00
virtual_desktop_test.cpp Drop Window::desktopPresenceChanged() 2023-02-23 22:10:37 +00:00
window_rules_test.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
window_selection_test.cpp
x11_window_test.cpp Drop Workspace::clientList() 2023-03-24 22:28:46 +00:00
xdgshellwindow_rules_test.cpp Merge Window::minimize and Window::unminimize 2023-03-07 12:20:07 +00:00
xdgshellwindow_test.cpp port more stuff to standard smart pointers 2023-03-20 14:16:37 +01:00
xwayland_input_test.cpp Tidy Window::windowClosed() signal 2023-03-14 07:15:56 +00:00
xwayland_selections_test.cpp
xwaylandserver_crash_test.cpp Make Workspace::allClientList() return all windows 2023-03-15 11:52:01 +00:00
xwaylandserver_restart_test.cpp