compositor: Export functions and add weston_suface::force_configure for fullscreen
This will facilitate the implementation of fullscreen.
Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
diff --git a/src/compositor.h b/src/compositor.h
index 881f53c..dd9cb20 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -301,6 +301,8 @@
struct wl_buffer *buffer;
struct wl_listener buffer_destroy_listener;
+
+ int force_configure;
};
void
@@ -507,4 +509,11 @@
weston_zoom_run(struct weston_surface *surface, GLfloat start, GLfloat stop,
weston_zoom_done_func_t done, void *data);
+void
+weston_surface_set_color(struct weston_surface *surface,
+ GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+
+void
+weston_surface_destroy(struct weston_surface *surface);
+
#endif