dbe: Adapt to new headers

This commit is contained in:
Adam Jackson 2009-07-16 17:43:31 -04:00
parent 9965174f4f
commit bb6fa39eb3

View File

@ -37,10 +37,24 @@
/* INCLUDES */
#define NEED_DBE_PROTOCOL
#include <X11/extensions/Xdbeproto.h>
#include <X11/extensions/dbeproto.h>
#include "windowstr.h"
#include "privates.h"
typedef struct
{
VisualID visual; /* one visual ID that supports double-buffering */
int depth; /* depth of visual in bits */
int perflevel; /* performance level of visual */
}
XdbeVisualInfo;
typedef struct
{
int count; /* number of items in visual_depth */
XdbeVisualInfo *visinfo; /* list of visuals & depths for scrn */
}
XdbeScreenVisualInfo;
/* DEFINES */