<div dir="ltr"><div>surface: Add compositor_state to weston_surface for the</div><div> compositor to keep a per surface context, like renderer does.</div><div><br></div><div>---</div><div> src/compositor.h | 2 ++</div><div>
 1 file changed, 2 insertions(+)</div><div><br></div><div>diff --git a/src/compositor.h b/src/compositor.h</div><div>index 73722b5..2f3b7d0 100644</div><div>--- a/src/compositor.h</div><div>+++ b/src/compositor.h</div><div>
@@ -865,6 +865,8 @@ struct weston_surface {</div><div> <span class="" style="white-space:pre">    </span> */</div><div> <span class="" style="white-space:pre">       </span>struct wl_list subsurface_list; /* weston_subsurface::parent_link */</div>
<div> <span class="" style="white-space:pre">   </span>struct wl_list subsurface_list_pending; /* ...::parent_link_pending */</div><div>+</div><div>+<span class="" style="white-space:pre">    </span>void *compositor_state;</div>
<div> };</div><div> </div><div> enum weston_key_state_update {</div></div>