home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_07 / 9n07094g < prev    next >
Text File  |  1991-05-27  |  564b  |  19 lines

  1.  
  2.     typedef struct
  3.         {
  4.         int             type;   /* KeyPress */
  5.         unsigned long   serial;
  6.         Bool            send_event;
  7.         Display         *display;
  8.         Window          window; 
  9.         Window          root;
  10.         Window          subwindow;
  11.         Time            time;
  12.         int             x, y;
  13.         int             x_root, y_root;
  14.         unsigned int    state;  /* Shift, Ctrl, etc. */
  15.         unsigned int    keycode;    /* key pressed */
  16.         Bool            same_screen;
  17.         } XKeyEvent;
  18.  
  19.