REF XUser                                        A. Schoter, August 1991

        COPYRIGHT University of Sussex 1991. All Rights Reserved.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<                             >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<            X USER           >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<                             >>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

This REF  file  describes some  additional  XEvent structures  that  are
defined in  LIB * XUser. Please  refer to  REF*XEvents for  a  general
description of XEvent structures.



---------------------
1  List of procedures
---------------------

The procedures below are made available by doing:

œ       uses xlib, XUser;

For details see:

œ                    Xlib - C Language X Interface,
œ                      MIT X Consortium Standard,
œ                        X Version 11, Release 4
œ
œ       Copyright (C) 1985, 1986, 1987, 1988, 1989 Massachusetts
œ       Institute of Technology,  Cambridge, Massachusetts,  and
œ       Digital Equipment Corporation, Maynard, Massachusetts.


XKeyEvent                                                      [typedef]
        Refer to  REF *  XEvents  for a  general description  of  XEvent
        structures.

œ           typedef struct {
œ               int type;
œ               unsigned long serial;
œ               Bool send_event;
œ               Display *display;
œ               Window window;
œ               Window root;
œ               Window subwindow;
œ               Time time;
œ               int x, y;
œ               int x_root, y_root;
œ               unsigned int state;
œ               unsigned int keycode;
œ               Bool same_screen;
œ           } XKeyEvent;

        type is the  type of  event; serial is  the number  of the  last
        request processed  by the  server; send_event  is true  if  this
        event is  the result  of  a SendEvent  request; display  is  the
        display that the event was read from; window is the event window
        it is reported  relative to; root  is the root  window that  the
        event occured in; subwindow is a child window; time is  measured
        in milliseconds; x and y are the x,y coordinates of the  pointer
        in the  event  window; x_root  and  y_root are  the  coordintaes
        relative to the  root window;  state is  a key  or button  mask;
        keycode provides details of the event; same_screen is a flag.


XMappingEvent                                                  [typedef]
        Refer to  REF *  XEvents  for a  general description  of  XEvent
        structures.

œ           typedef struct {
œ               int type;
œ               unsigned long serial;
œ               Bool send_event;
œ               Display *display;
œ               Window window;
œ               int request;
œ               int first_keycode;
œ               int count;
œ           } XMappingEvent;

        type, serial,  send_event,  and  display are  as  described  for
        XKeyEvent  above;  window  is  not  used;  request  is  one   of
        MappingModifier,     MappingKeyboard     or      MappingPointer;
        first_keycode is the first keycode in the mapping; count defines
        the range of change with respect to the first_keycode.




--- C.x/x/pop/ref/XUser
--- Copyright University of Sussex 1991. All rights reserved.