summaryrefslogtreecommitdiff
path: root/dbe/dbestruct.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-07-16 17:43:31 -0400
committerAdam Jackson <ajax@redhat.com>2009-07-17 13:31:15 -0400
commitbb6fa39eb3aa044ffc18632288fd59909ff06344 (patch)
treeade0d50380eafd162c78b899d4d0054e3edcf4e1 /dbe/dbestruct.h
parent9965174f4f09a7de00a9569607e96226208bc2ce (diff)
dbe: Adapt to new headers
Diffstat (limited to 'dbe/dbestruct.h')
-rw-r--r--dbe/dbestruct.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/dbe/dbestruct.h b/dbe/dbestruct.h
index e067f3761..38b4440d9 100644
--- a/dbe/dbestruct.h
+++ b/dbe/dbestruct.h
@@ -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 */