aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-27 20:24:13 -0400
committerGitHub <noreply@github.com>2017-09-27 20:24:13 -0400
commit38bb3b960852f9e358ec40c516f99eafeaf83ab2 (patch)
tree755f57a424364aa991e9303760a2040ae324cfd8 /examples
parent1ddda91b1b647df339b5b0a6aefa383e48d634d8 (diff)
parent4e70d36e61dd720e9caadb74b39d3a0cd6c8cad7 (diff)
Merge pull request #162 from emersion/wl_shell
Add wl_shell to rootston
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 6f28b193..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->surface, 200, 200);
+ wl_shell_surface->surface->resource, 200, 200);
}
struct wlr_xdg_surface_v6 *xdg_surface;
struct wlr_xdg_client_v6 *xdg_client;