window: Add support for opaque windows
diff --git a/clients/window.h b/clients/window.h
index 2597592..c04d77e 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -79,10 +79,13 @@
#endif
#endif
+#define SURFACE_OPAQUE 0x01
+
cairo_surface_t *
display_create_surface(struct display *display,
struct wl_surface *surface,
- struct rectangle *rectangle);
+ struct rectangle *rectangle,
+ uint32_t flags);
struct wl_buffer *
display_get_buffer_for_surface(struct display *display,
@@ -164,6 +167,8 @@
struct rectangle *allocation);
void
+window_set_transparent(struct window *window, int transparent);
+void
window_set_child_size(struct window *window, int32_t width, int32_t height);
void
window_schedule_redraw(struct window *window);