Re: Mouse grabbing

2004-01-25 Thread David Gómez
Hi Alexey ;), > There is such task: I need to grab all mouse and keyboard events on some > screen, do something after each event, and generate that events back to > applications. > Check for the 'ReplayPointer'/'ReplayKeyboard' flags to XAllowEvents, i think that is what you need. You can grab

Mouse grabbing

2004-01-23 Thread Rychkov, Alexey
Hello. There is such task: I need to grab all mouse and keyboard events on some screen, do something after each event, and generate that events back to applications. I try to do it like follows: At first I grab mouse, remove first event from the queue, (here I must do smth.), ungrab the pointe