aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-28 08:54:57 -0400
commit906a816abf812445ec9e514e6115872632fb3ee1 (patch)
tree6ff2b749c5d06505fe13f3ebabb020f9128bd8e9 /examples
parent7cf4ee128e278108b0326344be01ded93ce7148b (diff)
Fix rootston keyboard, add Xwayland
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);