Adolf Mathias (dolfi++at++venus.zkm.de)
Tue, 8 Nov 94 15:06:57 +0100
You can use
Window dummy;
int res_x,res_y;
XTranslateCoordinates(display,window,DefaultRootWindow(display,0),
x,y,&res_x,&res_y,&dummy);
to bring coordinates in any 'window' into their representation relative to the root window.
--Adolf Mathias Email: <dolfi++at++zkm.de> Zentrum fuer Kunst und Medientechnologie Postfach 6919 76049 Karlsruhe Tel. +49 (0)721 9340 404 Fax. ...9340 49
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:39 PDT