diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-09-12 06:18:52 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-09-13 07:57:16 -0400 |
commit | 9d2dc8447a64d0f402b309af5a655ce374dad808 (patch) | |
tree | ab971c7b72b532bdf483f4ed1b5aa125b1122c63 /examples | |
parent | b2c71287f29cec22217177d11e8692e73b805b66 (diff) |
use wlr_surface on shell struct and listen to events
Diffstat (limited to 'examples')
-rw-r--r-- | examples/compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/compositor.c b/examples/compositor.c index 995c1b7d..9d96b053 100644 --- a/examples/compositor.c +++ b/examples/compositor.c @@ -102,7 +102,7 @@ static void handle_output_frame(struct output_state *output, struct wlr_xdg_surface_v6 *xdg_surface; wl_list_for_each(xdg_surface, &sample->xdg_shell->surfaces, link) { output_frame_handle_surface(sample, wlr_output, ts, - xdg_surface->surface); + xdg_surface->surface->resource); } struct wlr_x11_window *x11_window; wl_list_for_each(x11_window, &sample->xwayland->displayable_windows, link) { |