Documentation
From my personal library, The Internet

man page:


SYNTAX

       #include <X11/extensions/applewm.h>

       Bool XAppleWMQueryExtension (Display *dpy,
               int *event_basep, int *error_basep);

       Status XAppleWMQueryVersion (Display *dpy,
               int *major_versionp, int *minor_versionp);

       Bool XAppleWMDisableUpdate (Display *dpy, int screen);

       Bool XAppleWMReenableUpdate (Display *dpy, int screen);

       Bool XAppleWMSelectInput (Display *dpy, unsigned long mask);

       Bool XAppleWMSetWindowMenu (Display *dpy, int nitems,
               const char **items);

       Bool XAppleWMSetWindowMenuWithShortcuts (Display *dpy,
               int nitems, const char **items,
               const char *shortcuts);

       Bool XAppleWMSetWindowMenuCheck (Display *dpy, int index);

       Bool XAppleWMSetFrontProcess (Display *dpy);

       Bool XAppleWMSetWindowLevel (Display *dpy, Window window,
               int level);

       Bool XAppleWMSetCanQuit (Display *dpy, Bool state);

       Bool XAppleWMFrameGetRect (Display *dpy,
               unsigned int frame_class,
               unsigned int frame_rect,
               short inner_x, short inner_y,
               short inner_w, short inner_h,
               short outer_x, short outer_y,
               short outer_w, short outer_h,
               short *ret_x, short *ret_y,
               short *ret_w, short *ret_h);

       unsigned int XAppleWMFrameHitTest (Display *dpy,
               unsigned int frame_class,
               short point_x, short point_y,
               short inner_x, short inner_y,
               short inner_w, short inner_h,
               short outer_x, short outer_y,
               short outer_w, short outer_h);

       Bool XAppleWMFrameDraw (Display *dpy, int screen,
               Window window,
               unsigned int frame_class,

       window    Specifies which window.

       level     Specifies the window level.

       frame_class
                 Specifies the class of window frame decoration.

       frame_rect
                 Specifies  which  rectangle  to  return from the window frame
                 decoration.

       frame_attr
                 A mask specifying the attributes of the window frame  decora-
                 tion.

       inner_x,inner_y,inner_w,inner_h
                 Rectangle of the window content inside the window frame deco-
                 ration.

       outer_x,outer_y,outer_w,outer_h
                 Rectangle of the outer border of the window frame decoration.

       point_x,point_y
                 Specifies the coordinates of the mouse up event.



DATATYPES

       Events
       typedef struct {
           int type;



XFree86                           Version 1.0                       APPLEWM(3)

Man(1) output converted with man2html