aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-27 15:03:35 +0200
committeremersion <contact@emersion.fr>2017-09-27 15:03:35 +0200
commite001e400221115b0fe41fb48df48e85a2ec4f6ba (patch)
tree831873093cf6da5620047bdc3358bfbbc5573a0c /examples
parentacf58e04de5652ed13ec46458a39a4dd97ba3b78 (diff)
Set view->surface
Diffstat (limited to 'examples')
-rw-r--r--examples/compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/compositor.c b/examples/compositor.c
index 6f28b193..14831820 100644
--- a/examples/compositor.c
+++ b/examples/compositor.c
@@ -290,7 +290,7 @@ static void handle_output_frame(struct output_state *output,
struct wlr_wl_shell_surface *wl_shell_surface;
wl_list_for_each(wl_shell_surface, &sample->wl_shell->surfaces, link) {
output_frame_handle_surface(sample, wlr_output, ts,
- wl_shell_surface->surface, 200, 200);
+ wl_shell_surface->resource, 200, 200);
}
struct wlr_xdg_surface_v6 *xdg_surface;
struct wlr_xdg_client_v6 *xdg_client;