parent
3f8623cf06
commit
c8fdebba89
1
src/x.c
1
src/x.c
|
@ -48,6 +48,7 @@
|
|||
#define DEBUG_PIXMAP 0
|
||||
|
||||
EDisplay Dpy;
|
||||
Display *disp;
|
||||
|
||||
#if USE_COMPOSITE
|
||||
static Visual *argb_visual = NULL;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "xtypes.h"
|
||||
|
||||
typedef struct {
|
||||
Display *disp;
|
||||
char *name;
|
||||
int screens;
|
||||
int screen;
|
||||
|
@ -45,8 +44,8 @@ typedef struct {
|
|||
} EDisplay;
|
||||
|
||||
__EXPORT__ extern EDisplay Dpy;
|
||||
__EXPORT__ extern Display *disp;
|
||||
|
||||
#define disp Dpy.disp
|
||||
#define RROOT Dpy.rroot
|
||||
#define VROOT Dpy.vroot
|
||||
|
||||
|
|
Loading…
Reference in New Issue