hhpc icon indicating copy to clipboard operation
hhpc copied to clipboard

Hide pointer only on keyboard events

Open majutsushi opened this issue 9 years ago • 2 comments

Thanks for this neat little program, it seems to work much better than unclutter. There's just one thing that would make it perfect for me, and that is hiding the pointer only once I start typing something on the keyboard instead of hiding it after a certain time. Time-based hiding can be a bit distracting if you're still using the mouse, and isn't really that necessary in that case, but a lot of the time when I want to write something I have to move the mouse pointer away halfway through. So if that could be added as an option that would be great.

majutsushi avatar Nov 06 '14 10:11 majutsushi

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 until me or someone else gets the time to experiment with this?

aktau avatar Nov 08 '14 20:11 aktau

I don't really have any X programming experience myself, so I don't think that would be quicker. It's not like it's urgent, though, so feel free to just have a look once you find the time.

majutsushi avatar Nov 09 '14 05:11 majutsushi