Properly trigger repaint for sofware cursor
ClosedPublic

Authored by graesslin on Jun 28 2016, 6:38 AM.

Details

Summary

When the cursor changes the old and the new cursor geometry needs to
be repainted. Also when the cursor image changes a repaint of old and
new geometry is needed.

To support this the current cursor geometry is tracked instead of just
the cursor position. From the cursor position it's not possible to get
to the cursor geometry once the cursor image or hotspot changes, thus
the complete geometry needs tracking.

CCBUG: 356328

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 4781.Jun 28 2016, 6:38 AM
graesslin retitled this revision from to Properly trigger repaint for sofware cursor.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptJun 28 2016, 6:38 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Jun 28 2016, 8:39 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Jun 28 2016, 8:39 AM
This revision was automatically updated to reflect the committed changes.