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
>Devel@XFree86.Org
>http://XFree86.Org/mailman/listinfo/devel
>  
>

_______________________________________________
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel

Reply via email to