Nicolas Hillegeer

Results 135 comments of Nicolas Hillegeer

That's definitely not good at all. Could you run hhpc verbosely with the `-v` switch and see what it prints out?

I'd have to study if the X protocol has something for this. On first sight, `XGrabKeyboard()` might work. Are you interested in coding a prototype yourself or can you wait...

Very interesting! It would indeed be necessary to have X.org or the kernel notify `hhpc` of any and all keyboard/mouse events, which would make it all very easy. Would you...

Ok, try the timer-reset-xorg branch if you will: https://github.com/aktau/hhpc/tree/timer-reset-xorg I believe it should be better, and use far less resources than the python wrapper, and it doesn't require root privileges....

I didn't experience it, but according to the docs, we should've... I'll chalk it up to either me misunderstanding, bad docs or X.org being weird.

> Okay found a bug: resets on pointer motion, but not on button-press this time. This is fully expected, unfortunately it seems that the X11 protocol doesn't allow delivering mouseclicks...

Possibly we could keep the current timer reset functionality and allow either a compile-time or run-time switch for those that also want resets on mouseclicks. That would compile in support...

@linulin glad it helped! Some interesting notes you have > 2) Don't give up on grab failure: I would be keen on doing something similar, but some grab failures are...

I'm not sure what makes this single thread unfriendly? Why can't I do something like: ``` go func main() { // create watcher w.Add("./") for { select { case

Right. I suppose this is only an issue on some platforms (old linux? I saw some mentioning of the lowest linux denominator being too low to stop this from happening)....