summaryrefslogtreecommitdiff
path: root/dbe/dbestruct.h
diff options
context:
space:
mode:
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..002ffbeb2 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 */