kwin/autotests/integration
Vlad Zahorodnii b75f089981 Port Workspace::topClientOnDesktop() to VirtualDesktop
This patch has one behavioral change - raiseOrLowerClient() will not
work if the client is not on the current virtual desktop.

However, raiseOrLowerClient() can be called only in two cases:

* user triggers the raise or lower shortcut for the active client. Since
  the active client is on the current virtual desktop, it's not an issue

* an x11 window restacks itself. It makes no sense if an x11 window
  restacks itself while it's inactive or not on current virtual desktop.
  Also, the Opposite restack mode is rarely used, some window managers
  don't even bother implementing it. So, having such a constraint should
  not be a problem.

The main reason for not allowing raiseOrLowerClient() for windows that
are not on the current virtual desktop is that a window can be on
multiple virtual desktops. If a window is on A and B virtual desktops,
the only logical option is to toggle stacking position if the window is
on the current desktop. It's the only viable option as kwin does not
maintain per virtual desktop stacking order.
2021-08-17 06:23:52 +00:00
..
data
effects Remove virtualdesktops.h include in toplevel.h 2021-08-12 17:23:15 +00:00
fakes
helper
protocols
scripting
activation_test.cpp
activities_test.cpp
buffer_size_change_test.cpp
CMakeLists.txt autotests: Remove SceneOpenGLShadowTest 2021-06-11 06:03:08 +00:00
dbus_interface_test.cpp
debug_console_test.cpp
decoration_input_test.cpp Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
desktop_window_x11_test.cpp
dont_crash_aurorae_destroy_deco.cpp Remove OpenGL2Compositing enum 2021-06-09 15:24:22 +00:00
dont_crash_cancel_animation.cpp
dont_crash_cursor_physical_size_empty.cpp Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
dont_crash_empty_deco.cpp Remove OpenGL2Compositing enum 2021-06-09 15:24:22 +00:00
dont_crash_glxgears.cpp
dont_crash_no_border.cpp Remove OpenGL2Compositing enum 2021-06-09 15:24:22 +00:00
dont_crash_reinitialize_compositor.cpp Remove OpenGL2Compositing enum 2021-06-09 15:24:22 +00:00
dont_crash_useractions_menu.cpp
generic_scene_opengl_test.cpp Remove OpenGL2Compositing enum 2021-06-09 15:24:22 +00:00
generic_scene_opengl_test.h
globalshortcuts_test.cpp
idle_inhibition_test.cpp Remove virtualdesktops.h include in toplevel.h 2021-08-12 17:23:15 +00:00
input_stacking_order.cpp
inputmethod_test.cpp inputmethod: Add a test that simulates client switching 2021-07-31 02:10:17 +02:00
internal_window.cpp Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
keyboard_layout_test.cpp
keymap_creation_failure_test.cpp
kwin_wayland_test.cpp Port from KPluginLoader::pluginsById to KPluginMetaData::pluginById 2021-07-22 22:59:13 +02:00
kwin_wayland_test.h kwin tests: Add heplers to access the input panel client and its surface 2021-07-21 13:10:30 +02:00
kwinbindings_test.cpp
layershellv1client_test.cpp
lockscreen.cpp Remove OpenGL2Compositing enum 2021-06-09 15:24:22 +00:00
maximize_test.cpp
modifier_only_shortcut_test.cpp Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
move_resize_window_test.cpp
nightcolor_test.cpp
no_global_shortcuts_test.cpp Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
no_xdg_runtime_dir_test.cpp
outputmanagement_test.cpp
placement_test.cpp
plasma_surface_test.cpp
plasmawindow_test.cpp
platformcursor.cpp
pointer_constraints_test.cpp
pointer_input.cpp Port Workspace::topClientOnDesktop() to VirtualDesktop 2021-08-17 06:23:52 +00:00
quick_tiling_test.cpp
scene_opengl_es_test.cpp
scene_opengl_test.cpp
scene_qpainter_test.cpp wayland: Switch to ClientBuffer 2021-07-23 15:33:38 +00:00
screen_changes_test.cpp
screenedge_client_show_test.cpp
screens_test.cpp
shade_test.cpp
showing_desktop_test.cpp
stacking_order_test.cpp
struts_test.cpp
tabbox_test.cpp
test_helpers.cpp kwin tests: Add heplers to access the input panel client and its surface 2021-07-21 13:10:30 +02:00
test_virtualkeyboard_dbus.cpp autotests: Fix VirtualKeyboardDBusTest 2021-06-22 16:28:45 +03:00
touch_input_test.cpp
transient_placement.cpp
virtual_desktop_test.cpp
window_rules_test.cpp
window_selection_test.cpp
x11_client_test.cpp
xdgshellclient_rules_test.cpp
xdgshellclient_test.cpp Remove virtualdesktops.h include in toplevel.h 2021-08-12 17:23:15 +00:00
xwayland_input_test.cpp Run clazy with qt-keywords fixit 2021-06-08 10:49:42 +03:00
xwayland_selections_test.cpp
xwaylandserver_crash_test.cpp
xwaylandserver_restart_test.cpp