dnd: work around cairo-gl brokenness
If cairo-gl is used, display_create_surface() will create an
wl_egl_window for each surface and this will result in errors if this
surface is used as a source. Also, one can't get a wl_buffer for such
a surface wich led to crashes when trying to do so for the drag icon.
This patch works around both problems by forcing the item and drag icon
surfaces to use shm.
diff --git a/clients/window.h b/clients/window.h
index e1a9aa2..7e968d0 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -112,6 +112,7 @@
#endif
#define SURFACE_OPAQUE 0x01
+#define SURFACE_SHM 0x02
cairo_surface_t *
display_create_surface(struct display *display,