aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-28 01:36:23 +0200
committeremersion <contact@emersion.fr>2017-09-28 01:36:23 +0200
commit4e70d36e61dd720e9caadb74b39d3a0cd6c8cad7 (patch)
tree755f57a424364aa991e9303760a2040ae324cfd8 /examples
parenta04462ba8be00640a4a17c096f61c556e488847e (diff)
examples/compositor: fix handle_output_frame
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 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;