Don't scale cursor hotspot differently to cursor

Authored by davidedmundson on Sep 18 2017, 10:53 AM.



In the DRM plugin the cursor is currently is drawn at the native size
Therefore we don't want to scale the icon offset as that leads to it
being drawn every so slightly off-sync.

BUG: 384769
Fixed-in: 5.11.0

Test Plan

Kate now selects lines based on the middle of the cursor, not the top left.
I'd previously gotten so used to it, I hadn't realised it was actually a bug :/

Diff Detail

R108 KWin
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: KWin. · View Herald TranscriptSep 18 2017, 10:53 AM
Restricted Application added subscribers: KWin, kwin, plasma-devel. · View Herald Transcript
graesslin accepted this revision.Sep 18 2017, 3:04 PM
This revision is now accepted and ready to land.Sep 18 2017, 3:04 PM
This revision was automatically updated to reflect the committed changes.