FVWM: Position of windows

From: Hans-Joachim Kropf <hajo_at_ida.ing.tu-bs.de>
Date: Thu, 21 Mar 96 11:24:34 MET DST

Hi !

While working with Xlib and the fvwm we have the following problem:

        When using the function XGetGeometry() for a specified window,the x- and y- variables
        returned by this function only contain zeros.

                  dpy = (Display *) xv_get (frame, XV_DISPLAY);
                  canvas_win = (Window) xv_get (frame, XV_XID);

                  XGetGeometry (dpy, canvas_win ,&win2,&x,&y,&w,&h,&b,&d);
        
        I am sure to have referenced the correct window, because the other variables
        which are returned from this function e.g. height and widht are correct for
        it. So, I am not able to get the location of the window.
        Who can tell me which structure contains or which function returns the correct
        values for getting the position of the window ?

Thanks.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Mar 21 1996 - 04:27:03 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST