diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-20 06:25:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 06:25:00 -0500 |
commit | 083fe4506b9a57353fdee36ad05252742cc6429f (patch) | |
tree | 0fca8bfca5123cc60ce99e2cf3d6746a5cc7f20c /rootston/output.c | |
parent | e0bdc16a10449d3bdf4517b5a85a9d55085d97c7 (diff) | |
parent | 0191f3f711b642aa496204e770eaa0dc1914f26d (diff) |
Merge pull request #427 from emersion/seat-views
rootston: add per-seat views
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/output.c b/rootston/output.c index b551dcf4..3b08d7bf 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -186,8 +186,8 @@ static void output_frame_notify(struct wl_listener *listener, void *data) { wlr_output_make_current(wlr_output); wlr_renderer_begin(server->renderer, wlr_output); - for (size_t i = 0; i < desktop->views->length; ++i) { - struct roots_view *view = desktop->views->items[i]; + struct roots_view *view; + wl_list_for_each_reverse(view, &desktop->views, link) { render_view(view, desktop, wlr_output, &now); } |