aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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 ae21697a..7d6efdb6 100644
--- a/examples/compositor.c
+++ b/examples/compositor.c
@@ -323,7 +323,7 @@ static void handle_output_frame(struct output_state *output,
struct wlr_x11_window *x11_window;
wl_list_for_each(x11_window, &sample->xwayland->displayable_windows, link) {
output_frame_handle_surface(sample, wlr_output, ts,
- x11_window->surface, 200, 200);
+ x11_window->surface->resource, 200, 200);
}
wlr_renderer_end(sample->renderer);