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.c b/clients/window.c index 096e117..43761ca 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -1818,6 +1818,12 @@ return widget->surface->surface; } +struct wl_subsurface * +widget_get_wl_subsurface(struct widget *widget) +{ + return widget->surface->subsurface; +} + uint32_t widget_get_last_time(struct widget *widget) {