Rune - Further Object abstraction work
[rune.git] / ext_x11 / defs.h
1 /*
2  * DEFS.H
3  *
4  * (c)Copyright 1993-2021, Matthew Dillon, All Rights Reserved.
5  *    See the COPYRIGHT file at the base of the distribution.
6  */
7
8 #include <sys/types.h>
9 #include <sys/stat.h>
10 #include <sys/file.h>
11 #include <sys/mman.h>
12 #include <stdio.h>
13 #include <stdlib.h>
14 #include <stdarg.h>
15 #include <stddef.h>
16 #include <string.h>
17 #include <unistd.h>
18 #include <dirent.h>
19 #include <assert.h>
20 #include <setjmp.h>
21 #include <pthread.h>
22 #include <X11/X.h>
23 #include <X11/Xlib.h>
24 #include <X11/Xutil.h>
25 #include <X11/Xmd.h>
26 #include <X11/keysym.h>
27
28 #include <librune/export.h>
29 #include <libruntime/export.h>
30 #include <libgen/export.h>
31
32 #include "frame.h"
33 #include "export.h"
34
35 extern Display * SaveDisplay;
36 extern pthread_mutex_t XMtx;
37 #if !defined(RUNE_X11_NO_TYPE_PROTOTYPES)
38 extern Type PointType;
39 extern Type RectType;
40 extern Type EventType;
41 extern Type EventPtrType;
42 #endif
43
44 void    initXDisplay(void);