surface: Add compositor_state to weston_surface for the
 compositor to keep a per surface context, like renderer does.

---
 src/compositor.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compositor.h b/src/compositor.h
index 73722b5..2f3b7d0 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -865,6 +865,8 @@ struct weston_surface {
  */
  struct wl_list subsurface_list; /* weston_subsurface::parent_link */
  struct wl_list subsurface_list_pending; /* ...::parent_link_pending */
+
+ void *compositor_state;
 };

 enum weston_key_state_update {
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to