Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax
[midnight-commander.git] / src / tty / x11conn.h
blob3f9a3c50789e1b95fc0e11df0bd842cec12d35b5
2 /** \file x11conn.h
3 * \brief Header: X11 support
4 * \warning This code uses setjmp() and longjmp(). Before you modify _anything_ here,
5 * please read the relevant sections of the C standard.
6 */
8 #ifndef MC_X11CONN_H
9 #define MC_X11CONN_H
12 This module provides support for some X11 functions. The functions
13 are loaded dynamically if GModule is available, and statically if
14 not. X11 session handling is somewhat robust. If there is an X11
15 error or a connection error, all further traffic to the X server
16 will be suppressed, and the functions will return reasonable default
17 values.
20 #include <X11/Xlib.h>
22 extern Display *mc_XOpenDisplay (const char *);
23 extern int mc_XCloseDisplay (Display *);
25 extern Bool mc_XQueryPointer (Display *, Window, Window *, Window *,
26 int *, int *, int *, int *, unsigned int *);
28 #endif