commit | 5e10a0448135b49a87e5752e79a48b00d7deb83a | [log] [tgz] |
---|---|---|
author | Neil Roberts <neil@linux.intel.com> | Mon Sep 09 00:40:17 2013 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Dec 04 16:34:07 2013 -0800 |
tree | 6c640e10b294cc3407b6b48335402e1ea48bd956 | |
parent | 47b87d5ec0f489bd4f5b81db6f8398bd3cdbb288 [diff] [blame] |
clients: Add a widget_get_wl_subsurface Adds a simple accessor for the wl_subsurface for widgets created with window_add_subsurface.
diff --git a/clients/window.h b/clients/window.h index 777bfbc..cf8fc6c 100644 --- a/clients/window.h +++ b/clients/window.h
@@ -345,6 +345,9 @@ struct wl_surface * window_get_wl_surface(struct window *window); +struct wl_subsurface * +widget_get_wl_subsurface(struct widget *widget); + enum window_buffer_type { WINDOW_BUFFER_TYPE_EGL_WINDOW, WINDOW_BUFFER_TYPE_SHM,