Re: Query mouse events from other Windows/Screens
Andrew C Aitchison <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 4 Aug 2005, George Liu wrote: > I would like to write an application that would collect mouse events > (Button Press/Release) among all windows/screens in the same desktop, > and display the event info on a dedicated window. I used the following > two methods but none worked. Your help is appreciated. I think the usual way is to have an invisble window covering the whole screen, at the front so that it gets first option on all events. When it receives an event it records it, then tells the server that it doesn't want it, so the next client should be offered the event.