examples/compositor: fix handle_output_frame

This commit is contained in:
emersion 2017-09-28 01:36:23 +02:00
parent a04462ba8b
commit 4e70d36e61
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -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;