dbe: Adapt to new headers

(cherry picked from commit bb6fa39eb3)
This commit is contained in:
Adam Jackson 2009-07-16 17:43:31 -04:00 committed by Jeremy Huddleston
parent 0a9f57c499
commit d8ae7e546f

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 */