-
Notifications
You must be signed in to change notification settings - Fork 41
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
--ignore-scrolling does not work without jitter and on first scrolling #47
Comments
I can reproduce this, but the problem is that xinput2 reports raw motion events for me. I am scrolling on a touchpad, this might have to do with it. Are you scrolling on an actual mouse or a touchpad? |
I am using a mouse. I tested it with the dwm-6.2 window manager and cinnamon. |
Can you apply the following patch
and then run it as
Now let the pointer be hidden and scroll and post that output here. |
Should I apply it on the latest commit or v1.5? Because your patch failes on 1.5 |
Latest commit, sorry. :-) |
|
Yeah, so this confirms what I saw too: xinput2 reports an event that the pointer has been moved. Did this use to work and now broke or did you just recently start using unclutter-xfixes? |
I installed it a couple days ago for the first time and had this issue right away. I definitely did not move the mouse because I was holding it in the air. |
Another unrelated issue I had when I tried to build unclutter was that it failed because it could not find a2x. I had to install it by installing asciidoc. However, this might be because I have arch which has pretty much nothing pre-installed. Maybe it is already installed on other distros. But if not then you should mention it in your documentation. |
Yeah, I believe that; but it seems like the issue might be in the Xinput2 implementation (unless I'm misunderstanding something). An easy fix would of course be to default jitter to
It is listed in the DEPENDENCIES file. :-) |
Haha, my bad :)
Thats what I am doing. But it also shows the cursor on the very first scroll. After the first scroll it keeps the cursor hidden. Its not a big deal for me but might be of interest for you. |
Yeah, for now this should be a good enough workaround; sorry for the inconvenience. I have posted to the xorg-devel mailing list now to see if someone can shed some light on this.
This is probably because we haven't yet cached the cursor position. We could query it when unclutter-xfixes first starts up to avoid this. Could you open a separate issue for this, please? Thanks! |
|
For reference, here's my email from last year to which I unfortunately never got a response. https://lists.x.org/archives/xorg-devel/2019-May/058157.html |
Info
unclutter-xfixes version: 1.5
OS: Arch Linux
Window Manager: dwm 6.2
Problem
unclutter --ignore-scrolling
doesn't ignore scrolling. It only works if the--jitter
option is also enabled, ex.unclutter --ignore-scrolling --jitter 20
. Additionally, it doesn't ignore scrolling on the very first scrolling if the mouse wasn't moved since unclutter started.Reproduce
Without jitter
unclutter --ignore-scrolling
With jitter
unclutter --ignore-scrolling --jitter 20
The text was updated successfully, but these errors were encountered: