Updated italian translation
[midnight-commander.git] / src / x11conn.h
blob01be529255c41e64f66b75ef9d063ce49ae8f273
1 #ifndef MC_X11CONN_H
2 #define MC_X11CONN_H
4 /*
5 This module provides support for some X11 functions. The functions
6 are loaded dynamically if GModule is available, and statically if
7 not. X11 session handling is somewhat robust. If there is an X11
8 error or a connection error, all further traffic to the X server
9 will be suppressed, and the functions will return reasonable default
10 values.
13 #include <X11/Xlib.h>
15 extern Display *mc_XOpenDisplay (const char *);
16 extern int mc_XCloseDisplay (Display *);
18 extern Bool mc_XQueryPointer (Display *, Window, Window *, Window *,
19 int *, int *, int *, int *, unsigned int *);
21 #endif