kwin/autotests
Vlad Zahorodnii 403a04fe24 wayland: Fix loading of HiDPI cursors
Xcursors don't support hidpi so if a hidpi cursor is needed, kwin will
scale the desired size by the scale factor and ask Xcursor helpers to
load a theme with the given name and the size.

However, the theme loading code doesn't take into account that Xcursor
theme loading helpers may not return cursor sprites of size size * scale
if the theme has no such a size.

For example, if the cursor theme only provides 24, 36, and 48 sizes and
kwin attempts to load cursors of size 48 with a scale factor of 2, we
will get cursors of size 48 instead of 96. Unfortunately, this will
result in the issue where the cursor shrinks when hovering decorations
because kwin doesn't know that the effective scale factor (1) is
different from the requested scale factor (2).

In order to fix loading of HiDPI cursors, we need to approximate the
effective scale factor of every cursor sprite as we load it.
2021-05-03 10:52:25 +03:00
..
integration wayland: Fix loading of HiDPI cursors 2021-05-03 10:52:25 +03:00
libinput Drop testLibinputContext 2021-03-23 08:01:19 +00:00
libkwineffects autotests: Fix a few typos in kwinglplatformtest 2021-04-26 13:26:05 +03:00
libxrenderutils Make source code more relocatable 2021-02-10 15:31:42 +00:00
tabbox Drop QtScript dependency 2021-02-23 07:47:01 +00:00
abstract_client.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
CMakeLists.txt fix global shortcuts for non-Latin symbols 2021-04-05 19:39:06 +00:00
fakeeffectplugin.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
fakeeffectplugin.json PluginEffectLoader doesn't use KPluginTrader any more 2015-07-07 09:36:15 +02:00
fakeeffectplugin_version.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
fakeeffectplugin_version.json PluginEffectLoader doesn't use KPluginTrader any more 2015-07-07 09:36:15 +02:00
mock_abstract_client.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_abstract_client.h Prettify license headers 2020-08-07 19:57:56 +00:00
mock_effectshandler.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_effectshandler.h libkwineffects: Introduce EffectScreen 2021-03-09 08:58:22 +00:00
mock_screens.cpp Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
mock_screens.h Make source code more relocatable 2021-02-10 15:31:42 +00:00
mock_workspace.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_workspace.h Prettify license headers 2020-08-07 19:57:56 +00:00
mock_x11client.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
mock_x11client.h Prettify license headers 2020-08-07 19:57:56 +00:00
onscreennotificationtest.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
onscreennotificationtest.h Prettify license headers 2020-08-07 19:57:56 +00:00
opengl_context_attribute_builder_test.cpp Move source code to src/ directory 2021-02-10 15:31:43 +00:00
test_builtin_effectloader.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_client_machine.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_ftrace.cpp Add ftrace markers 2021-01-14 09:31:59 +00:00
test_gbm_surface.cpp Move source code to src/ directory 2021-02-10 15:31:43 +00:00
test_gestures.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_plugin_effectloader.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_screen_edges.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_screen_paint_data.cpp libkwineffects: Introduce EffectScreen 2021-03-09 08:58:22 +00:00
test_scripted_effectloader.cpp [scripting] Port ScriptedEffects to QJSEngine 2021-02-23 07:47:01 +00:00
test_virtual_desktops.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_window_paint_data.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_x11_timestamp_update.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
test_xcb_size_hints.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_xcb_window.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_xcb_wrapper.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
test_xkb.cpp fix global shortcuts for non-Latin symbols 2021-04-05 19:39:06 +00:00
testutils.h Prettify license headers 2020-08-07 19:57:56 +00:00
workspace.h [auto-tests] Add an initial test for Screens 2014-09-17 10:29:03 +02:00
x11client.h Rename Client to X11Client 2019-09-25 21:11:37 +03:00