Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ScrofWin.Xmu() — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmuScreenOfWindow(Xmu)   X Version 11 (Release 5)     XmuScreenOfWindow(Xmu)
                                6 January 1993


 Name

    XmuScreenOfWindow - returns screen of specified window

 Syntax


    cc  . . .  -lXmu


    #include <X11/Xmu/WinUtil.h>

    Screen *XmuScreenOfWindow(dpy, w)
          Display *dpy;
          Window w;

    Window XmuClientWindow(dpy, win)
          Display *dpy;
          Window win;

    Bool XmuUpdateMapHints(dpy, w, hints)
          Display *dpy;
          Window w;
          XSizeHints *hints;


 Arguments


    dpy    Specifies the connection to the X server.

    hints  Specifies the new hints, or NULL.

    w      Specifies the window.

    win    Specifies the window.


 Description

    The XmuScreenOfWindow function returns the Screen on which the specified
    window was created.

    The XmuClientWindow function finds a window, at or below the specified
    window, that has a WM_STATE property.  If such a window is found, it is
    returned; otherwise the argument window is returned.

    The XmuUpdateMapHints function clears the PPosition and PSize flags and
    sets the USPosition and USSize flags in the hints structure, then stores
    the hints for the window using XSetWMNormalHints and returns True.  If
    NULL is passed for the hints structure, then the current hints are read
    back from the window using XGetWMNormalHints and are used instead, and
    True is returned; otherwise False is returned.

 See also

    Xlib - C Language X Interface


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