Re: Query mouse events from other Windows/Screens

George Liu <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
Hi Andrew,

Thanks for your reponse. This was exactly my thought in method 1.  I
assume window root

root = RootWindow(d,s);

is the invisble window covering the whole screen. Is that right? Thanks.

--George

Andrew C Aitchison wrote:

>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.
>
>
>_______________________________________________
>Devel mailing list
>[email protected]
>http://XFree86.Org/mailman/listinfo/devel
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.