aboutsummaryrefslogtreecommitdiff
path: root/generic/WidgetInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/WidgetInfo.h')
-rw-r--r--generic/WidgetInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index 0cbbfdd..16e27c8 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -188,21 +188,25 @@ typedef struct _WidgetInfo {
Screen *screen;
ZnWindow win; /* The window of the widget. */
ZnBool realized;
+#ifdef LIBART
#ifdef SHM
XImage *draw_buffer_im; /* Image for double buffering */
RenderBuf buf;
#endif
+#endif
Pixmap draw_buffer; /* Pixmap for double buffering */
ZnBBox damaged_area; /* The current damaged rectangle */
GC gc;
ZnBool has_x_shm; /* Tell if the SHM X11 ext is avail. */
ZnBool has_x_shape; /* Tell if the X shape ext. is avail. */
ZnBool has_x_input; /* Tell if the X input ext. is avail. */
- ZnBool local_render; /* Instruct to render to a local image,
+ ZnBool render; /* Instruct to render to a local image,
* using libart. */
+#ifdef LIBART
#ifdef SHM
XShmSegmentInfo x_shm_info;
#endif
+#endif
int events_flags; /* NEED_REPICK et al */
Window real_top;
Item top_group;