Ah, my mistake. Sorry for the noise.
"A timeout of zero causes the poll to always return immediately." So, no, retrying indefinitely is not the expected behavior.
Is there a reason this is > 0
rather than >= 0
? A timeout
argument of 0 appears to be the only way to embed the wayland loop, and that's broken right now....
Pip Cet (3e4bc35d) at 09 Apr 23:33
This allows usage like "synclient AreaLeftEdge=-1000", which is necessary for the driver to work comfortably on some hardware with large touchpads.
Fixes #13
Pip Cet (3e4bc35d) at 09 Apr 16:58
synclient: allow negative/large values for AreaLeftEdge etc.
I'm using this driver with Debian GNU/Linux on an Apple M1-based machine, which has a huge touchpad which I find impossible to work with unless I set both AreaRightEdge (to around 4000) and AreaLeftEdge; however, the default synclient.c source caps the AreaLeftEdge minimum at 0, so 1 is the lowest usable value, and that disables the entire half of that touchpad.
Will attach the obvious patch once I figure out how to do that in this GitLab.