root/lib/tty/x11conn.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 /** \file x11conn.h
   2  *  \brief Header: X11 support
   3  *  \warning This code uses setjmp() and longjmp(). Before you modify _anything_ here,
   4  *  please read the relevant sections of the C standard.
   5  */
   6 
   7 #ifndef MC__X11CONN_H
   8 #define MC__X11CONN_H
   9 
  10 /*
  11    This module provides support for some X11 functions.  The functions
  12    are loaded dynamically if GModule is available, and statically if
  13    not.  X11 session handling is somewhat robust.  If there is an X11
  14    error or a connection error, all further traffic to the X server
  15    will be suppressed, and the functions will return reasonable default
  16    values.
  17  */
  18 
  19 #include <X11/Xlib.h>
  20 
  21 /*** typedefs(not structures) and defined constants **********************************************/
  22 
  23 /*** enums ***************************************************************************************/
  24 
  25 /*** structures declarations (and typedefs of structures)*****************************************/
  26 
  27 /*** global variables defined in .c file *********************************************************/
  28 
  29 /*** declarations of public functions ************************************************************/
  30 
  31 extern Display *mc_XOpenDisplay (const char *);
  32 extern int mc_XCloseDisplay (Display *);
  33 
  34 extern Bool mc_XQueryPointer (Display *, Window, Window *, Window *,
  35                               int *, int *, int *, int *, unsigned int *);
  36 
  37 /*** inline functions ****************************************************************************/
  38 #endif

/* [previous][next][first][last][top][bottom][index][help]  */