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.
Method 1:
d =
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
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
George Liu wrote:
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.
No. That's the visible window that always exists at the BACK of the
OK. Now created a new window w by something like,
w = XCreateWindow(d, root, 0,0, 1024, 500,0,0,InputOnly, (Visual *)
CopyFromParent, valuemask, attributes );
XMapWindow(d, iw);
Then it obscures the other windows.
Thanks for your reponse. This was exactly my thought in method 1. I
assume