From 4e70d36e61dd720e9caadb74b39d3a0cd6c8cad7 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 28 Sep 2017 01:36:23 +0200 Subject: [PATCH] examples/compositor: fix handle_output_frame --- examples/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/compositor.c b/examples/compositor.c index 14831820..ae21697a 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->resource, 200, 200); + wl_shell_surface->surface->resource, 200, 200); } struct wlr_xdg_surface_v6 *xdg_surface; struct wlr_xdg_client_v6 *xdg_client;