[platforms/drm] Only show cursor if a pointer device is available
ClosedPublic

Authored by graesslin on May 25 2016, 9:26 AM.

Details

Summary

When the pointer device gets plugged off the cursor is hidden, when
a pointer device gets plugged in the cursor is shown again.

This allows to easily turn a tablet into a proper system by showing
the cursor only when it makes sense.

Test Plan

Tested on exopc with external mouse

Diff Detail

Repository
R108 KWin
Branch
drm-show-cursor-only-with-pointer
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin updated this revision to Diff 3984.May 25 2016, 9:26 AM
graesslin retitled this revision from to [platforms/drm] Only show cursor if a pointer device is available.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptMay 25 2016, 9:26 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bshah accepted this revision.May 25 2016, 9:31 AM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.May 25 2016, 9:31 AM
This revision was automatically updated to reflect the committed changes.