DN=SU12001, RECIPIENTS, SIEGE, AEROSPATIALE (MICHAEL.BOCCARA++at++siege.aerospatiale.fr)
Mon, 23 Aug 1999 19:47:22 +0200
Another problem (this is my day). I have opened 2 pfPipeWindows pwin0 ans pwin1 out of the same pfPipe. I have 2 channels chan0 and chan1 in pwin0, and chan2 in pwin1. I want to get the mouse info in pwin0 and pwin 1. So I am first using pfuInitMultichanInput to be able to collect mouse info out of both pfPipeWindows pwin0 and pwin1.
The problem : pfuGetMouse gives the mouse's position related to window, i.e. (0,0) if the mouse is in pwin0's corner. But it also give the same result if the mouse is on pwin1's corner ! It means we have *no* information in the struct pfuMouse about which window my mouse is in !!!
Is there a way to grab this information somewhere in X-Window ?
Also, I'm using pfiXformer, and since it is using pfuMouse, it does not differentiate 2 pfPipeWindows in the same application, so I cannot use it in a multiwindow program. What happens is that when I move the mouse in one window it also moves the trackball in the other window, and vice-versa...
Should I give up libpfutil ?
Please help,
I'm working with Performer 2.2 on an Onyx RE2 with IRIX 6.2.
Mike
This archive was generated by hypermail 2.0b2 on Mon Aug 23 1999 - 10:46:50 PDT