Recording Window Coordinates



Dear all,

I am trying to record window coordinates for all open windows in a
session. I have tried using xwininfo, however, for many windows it
simply reports the same x,y coordinates, speicifically 10. For example
running xwininfo -name Mozilla always gives (with the absolute
coordinates staying the same even after moving the window):

xwininfo: Window id: 0x2a00001 "Mozilla"

Absolute upper-left X: 10
Absolute upper-left Y: 10
Relative upper-left X: 10
Relative upper-left Y: 10
Width: 10
Height: 10
Depth: 24
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsUnMapped
Override Redirect State: no
Corners: +10+10 -1260+10 -1260-1004 +10-1004
-geometry 10x10+10+10

Can anyone suggest a solution for this problem? Thanks!

Sincerely,
Fahd

.



Relevant Pages

  • Re: Strange window problem
    ... try htop or pstree or many other similar tools ... unusual window, then either your box has been hacked or you have found ... man page suggests at the end xwininfo ... Absolute upper-left Y: 127 ...
    (Debian-User)
  • Re: Strange window problem
    ... try htop or pstree or many other similar tools ... unusual window, then either your box has been hacked or you have found ... man page suggests at the end xwininfo ... Absolute upper-left Y: 127 ...
    (Debian-User)
  • Re: cant take screenshot in solaris 10
    ... not capture the contents of the window. ... Absolute upper-left X: 121 ... Visual Class: PseudoColor ... Window Gravity State: NorthWestGravity ...
    (comp.cad.cadence)
  • ptk_steal
    ... Here's the output of xwininfo for those ... Relative upper-left X: 0 ... Window Gravity State: NorthWestGravity ...
    (comp.lang.perl.misc)
  • Finding Coordinates of Windows
    ... I have tried using xwininfo, however, for many windows it ... coordinates staying the same even after moving the window): ... Absolute upper-left X: 10 ... Window Gravity State: NorthWestGravity ...
    (alt.linux)