e3250460cc
Summary: From Wayland documentation: "When a seat's focus enters a surface, the pointer image is undefined and a client should respond to this event by setting an appropriate pointer image with the set_cursor request." KWin's interpretation so far for the undefined pointer image was to remove the pointer image when entering a surface waiting for the client to set a cursor image. This can result in a short flicker as there might be a frame without a cursor image. This patch changes the behavior by keeping the previous image till the application set a new one. This brings some advantages: * if the application is not responding a cursor is still shown * if the same cursor is used as in the previous window we don't have a flicker CCBUG: 393639 Test Plan: I cannot see the flicker, so only tested with the adjusted tests Reviewers: #kwin, #plasma Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D12631 |
||
---|---|---|
.. | ||
data | ||
effects | ||
helper | ||
scripting | ||
activities_test.cpp | ||
CMakeLists.txt | ||
colorcorrect_nightcolor_test.cpp | ||
debug_console_test.cpp | ||
decoration_input_test.cpp | ||
desktop_window_x11_test.cpp | ||
dont_crash_aurorae_destroy_deco.cpp | ||
dont_crash_cancel_animation.cpp | ||
dont_crash_cursor_physical_size_empty.cpp | ||
dont_crash_empty_deco.cpp | ||
dont_crash_glxgears.cpp | ||
dont_crash_no_border.cpp | ||
dont_crash_useractions_menu.cpp | ||
generic_scene_opengl_test.cpp | ||
generic_scene_opengl_test.h | ||
globalshortcuts_test.cpp | ||
idle_inhibition_test.cpp | ||
input_stacking_order.cpp | ||
internal_window.cpp | ||
keyboard_layout_test.cpp | ||
keymap_creation_failure_test.cpp | ||
kwin_wayland_test.cpp | ||
kwin_wayland_test.h | ||
kwinbindings_test.cpp | ||
lockscreen.cpp | ||
maximize_test.cpp | ||
modifier_only_shortcut_test.cpp | ||
move_resize_window_test.cpp | ||
no_xdg_runtime_dir_test.cpp | ||
plasma_surface_test.cpp | ||
plasmawindow_test.cpp | ||
platformcursor.cpp | ||
pointer_constraints_test.cpp | ||
pointer_input.cpp | ||
quick_tiling_test.cpp | ||
scene_opengl_es_test.cpp | ||
scene_opengl_test.cpp | ||
scene_qpainter_test.cpp | ||
screen_changes_test.cpp | ||
screenedge_client_show_test.cpp | ||
shade_test.cpp | ||
shell_client_rules_test.cpp | ||
shell_client_test.cpp | ||
showing_desktop_test.cpp | ||
start_test.cpp | ||
struts_test.cpp | ||
tabbox_test.cpp | ||
test_helpers.cpp | ||
touch_input_test.cpp | ||
transient_no_input_test.cpp | ||
transient_placement.cpp | ||
virtual_desktop_test.cpp | ||
window_rules_test.cpp | ||
window_selection_test.cpp | ||
x11_client_test.cpp | ||
xclipboardsync_test.cpp | ||
xwayland_input_test.cpp |