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

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

Closed
cristobaltapia opened this issue Apr 3, 2020 · 1 comment · Fixed by #5240
Closed

Comments

@cristobaltapia
Copy link

  • Sway Version: 1.4

  • Configuration File:

input 1386:788:Wacom_Intuos_Pro_S_(WL)_Pen {
    map_to_output DP-1
    map_from_region 0.0x0.0 1.0x0.901
}

# Define seat for wacom tablet
seat seat_wacom attach "1386:788:Wacom_Intuos_Pro_S_(WL)_Pen"

### Seat configurations
# For the default seat
seat seat0 hide_cursor 10000

# For wacom seat
seat seat_wacom hide_cursor 10000
seat seat_wacom idle_inhibit tablet_tool
seat seat_wacom idle_wake tablet_tool

I have a "Wacom Intuos Pro S" which I want to use with its own seat. I also want the cursor corresponding to this input device to hide after 10 sec if it has not been used. This seems to work... but not quite. If I use the pen of the tablet on an empty monitor (no program opened) then the cursor does not get hidden. However, if I use a program (e.g. MyPaint or Xournal++) and draw something, then the cursor gets hidden after 10 sec, even if I am constantly moving the pen.

There are other problems I have been experiencing with this configuration, like swaylock getting started even if am using the keyboard (it happened also while I was writing this).

This is also the first time that I am trying to configure different seats, so it might well be something that I am missing.

@9ary
Copy link
Contributor

9ary commented Apr 15, 2020

I'm facing the exact same problem here on sway 1.4. Relevant config lines are:

seat * hide_cursor 2000
input 1386:890:Wacom_One_by_Wacom_S_Pen map_from_region .0x.1 1x1

Xyene added a commit to Xyene/sway that referenced this issue 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.

Fixes swaywm#5169.
Xyene added a commit to Xyene/sway that referenced this issue 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.

Fixes swaywm#5169.
Xyene added a commit to Xyene/sway that referenced this issue 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.

Fixes swaywm#5169.
emersion pushed a commit that referenced this issue Apr 22, 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.

Fixes #5169.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants