Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xwininfo(1) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1)

xprop(1)

XWININFO(1)  —  Unix Programmer’s Manual

NAME

xwininfo - window information utility for X

SYNOPSIS

xwininfo [-help] [-id id] [-root] [-name name] [-int] [-tree] [-stats] [-bits] [-events] [-size] [-wm ] [-all] [-display display]

DESCRIPTION

Xwininfo is  a  utility  for  displaying  information about windows.  Depending on which options are choosen, various information is displayed.  If no options are choosen, -stats is assumed. 

The  user has the option of selecting the target window with the mouse (by clicking any mouse button in the desired window)  or  by specifying its window id on the command line with the -id option.  In addition, if it is easier, instead of specifying the window by its id number, the -name option may be used to specify which window is desired by name.  There is also a special -root option to quickly obtain information on X’s root window. 

OPTIONS

-help Print out the ’Usage:’ command syntax summary. 

-id id This option allows the user to specify a target  window  id  on  the command  line rather than using the mouse to select the target window.  This is very useful in  debugging  X  applications  where  the  target window is not mapped to the screen or where the use of the mouse might be impossible or interfere with the application. 

-name name
This option allows the user to specify that the window named name is the target window on the command line rather than using the mouse to select the target window. 

-root This  option  specifies  that  X’s root window is the target window.  This is useful in situations  where  the  root  window  is  completely obscured. 

-int This option specifies that all X window ids should be  displayed  as integer values.  The default is to display them as hexadecimal values. 

-tree This option causes the root, parent, and children windows id’s and name’s of the selected window to be displayed. 

-stats This option causes various attributes of the selected window having to do with its location and appearence to be displayed.  Information displayed includes the location of the window, its width and height, its depth, border width, class, and map state. 

-bits This option causes various attributes of the selected window having to do with its raw bits and how it is to be stored to be displayed.  Information displayed includes the window’s window and bit gravities, the window’s backing store hint and backing_planes value, its backing pixel, and whether or not the window has save-under set. 

-events This option causes the selected window’s event masks to be displayed.  Both the event mask of events wanted by some client and the event mask of events not to prograte are displayed. 

-size This option causes the selected window’s sizing hints to be displayed.  Information displayed includes for both the normal size hints and the zoom size hints the user supplied location if any, the program supplied location if any, the user supplied size if any, the program supplied size if any, the minimum size if any, the maximum size if any, the resize increments if any, and the minimum and maximum aspect ratios if any. 

-wm This option causes the selected window’s window manager hints to be displayed.  Information displayed may include whether or not the application accepts input, what the window’s icon window # and name is, where the window’s icon should go, and what the window’s initial state should be. 

-all This option is a quick way to ask for all information possible. 

-display display
This  option  allow  you  to  specify the server to connect to; see X(1). 

EXAMPLE

The following is a sample summary taken with no options specified:
 
xwininfo ==> Please select the window you wish
         ==> information on by clicking the
         ==> mouse in that window.
 
xwininfo ==> Window id: 0x8006b (fred)
 
         ==> Upper left X: 0
         ==> Upper left Y: 0
         ==> Width: 1024
         ==> Height: 864
         ==> Depth: 1
         ==> Border width: 0
         ==> Window class: InputOutput
         ==> Window Map State: IsUnviewable
 

ENVIRONMENT

DISPLAY
To get default host and display number.

SEE ALSO

X(1), xprop(1)

COPYRIGHT

Copyright 1988, Massachusetts Institute of Technology. 
See X(1) for a full statement of rights and permissions. 

AUTHOR

Mark Lillibridge, MIT Project Athena

X Version 11  —  1 March 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026