D28155: WIP: Make it possible to have a separate cursor for the tablet

Aleix Pol Gonzalez noreply at phabricator.kde.org
Fri Mar 20 02:14:05 GMT 2020


apol created this revision.
apol added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
apol requested review of this revision.

REVISION SUMMARY
  As is KWin only had 1 Cursor which was a singleton. This made it impossible for
  us to properly implement the tablet (as in drawing tablets) support and show where
  we're drawing.
  This patch makes it possible to have different Cursors in KWin, it makes all the
  current code still follow the mouse but the tablet can still render a cursor.

TEST PLAN
  Tests pass, been using it and works okay. Only thing I've noticed broken
  is the screen edges.

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D28155

AFFECTED FILES
  abstract_client.cpp
  activation.cpp
  autotests/CMakeLists.txt
  autotests/integration/activation_test.cpp
  autotests/integration/activities_test.cpp
  autotests/integration/decoration_input_test.cpp
  autotests/integration/desktop_window_x11_test.cpp
  autotests/integration/dont_crash_aurorae_destroy_deco.cpp
  autotests/integration/dont_crash_cursor_physical_size_empty.cpp
  autotests/integration/dont_crash_empty_deco.cpp
  autotests/integration/dont_crash_no_border.cpp
  autotests/integration/dont_crash_useractions_menu.cpp
  autotests/integration/effects/translucency_test.cpp
  autotests/integration/effects/wobbly_shade_test.cpp
  autotests/integration/globalshortcuts_test.cpp
  autotests/integration/input_stacking_order.cpp
  autotests/integration/internal_window.cpp
  autotests/integration/kwinbindings_test.cpp
  autotests/integration/lockscreen.cpp
  autotests/integration/maximize_test.cpp
  autotests/integration/modifier_only_shortcut_test.cpp
  autotests/integration/move_resize_window_test.cpp
  autotests/integration/no_global_shortcuts_test.cpp
  autotests/integration/placement_test.cpp
  autotests/integration/plasma_surface_test.cpp
  autotests/integration/plasmawindow_test.cpp
  autotests/integration/platformcursor.cpp
  autotests/integration/pointer_constraints_test.cpp
  autotests/integration/pointer_input.cpp
  autotests/integration/quick_tiling_test.cpp
  autotests/integration/scene_qpainter_test.cpp
  autotests/integration/screen_changes_test.cpp
  autotests/integration/screenedge_client_show_test.cpp
  autotests/integration/scripting/screenedge_test.cpp
  autotests/integration/shade_test.cpp
  autotests/integration/struts_test.cpp
  autotests/integration/tabbox_test.cpp
  autotests/integration/touch_input_test.cpp
  autotests/integration/transient_placement.cpp
  autotests/integration/window_rules_test.cpp
  autotests/integration/window_selection_test.cpp
  autotests/integration/x11_client_test.cpp
  autotests/integration/xdgshellclient_rules_test.cpp
  autotests/integration/xdgshellclient_test.cpp
  autotests/integration/xwayland_input_test.cpp
  autotests/test_screen_edges.cpp
  autotests/test_screens.cpp
  autotests/test_scripted_effectloader.cpp
  cursor.cpp
  cursor.h
  decorations/decoratedclient.cpp
  effects.cpp
  events.cpp
  input.cpp
  placement.cpp
  platform.cpp
  platform.h
  plugins/platforms/drm/drm_backend.cpp
  plugins/platforms/drm/drm_backend.h
  plugins/platforms/drm/drm_output.cpp
  plugins/platforms/drm/drm_output.h
  plugins/platforms/wayland/wayland_backend.cpp
  plugins/platforms/x11/standalone/edge.cpp
  plugins/platforms/x11/standalone/effects_x11.cpp
  plugins/platforms/x11/standalone/windowselector.cpp
  plugins/platforms/x11/windowed/x11windowed_backend.cpp
  plugins/qpa/platformcursor.cpp
  plugins/scenes/opengl/scene_opengl.cpp
  plugins/scenes/qpainter/scene_qpainter.cpp
  pointer_input.cpp
  pointer_input.h
  screenedge.cpp
  screens.cpp
  useractions.cpp
  wayland_cursor_theme.cpp
  workspace.cpp
  x11client.cpp
  xdgshellclient.cpp

To: apol, #kwin
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200320/a7040b1a/attachment-0001.html>


More information about the kwin mailing list