Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input/cursor: fix hide cursor timeouts on tablets and touchscreens #5240

Merged
merged 1 commit into from
Apr 22, 2020

Conversation

Xyene
Copy link
Member

@Xyene Xyene commented Apr 20, 2020

This commit refactors cursor_handle_activity to also take the idle
source, so that it can be reused for tablet and touch activity.
Previously, the timeouts would be tracked, but the cursor would never be
un-hidden for anything but pointers (including emulated pointers on
non-tablet_v2 surfaces).

Fixes #5169.

include/sway/input/cursor.h Outdated Show resolved Hide resolved
@Xyene Xyene force-pushed the fix-tablet-tool-cursor-inactivity branch from 57ca76d to 66ba8a3 Compare April 20, 2020 05:39
This commit refactors `cursor_handle_activity` to also take the idle
source, so that it can be reused for tablet and touch activity.
Previously, the timeouts would be tracked, but the cursor would never be
un-hidden for anything but pointers.

Fixes swaywm#5169.
@Xyene Xyene force-pushed the fix-tablet-tool-cursor-inactivity branch from 66ba8a3 to 8574374 Compare April 20, 2020 05:43
Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

@emersion emersion merged commit 44b2d3a into swaywm:master Apr 22, 2020
@Xyene Xyene deleted the fix-tablet-tool-cursor-inactivity branch October 18, 2020 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Cursor gets hidden even it is currently being used with a drawing tablet (wacom)
3 participants