From 15c19572cf97d3386ed3b2f9154dd752ce0b0b49 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 30 Jul 2018 19:44:07 +0100 Subject: Fix segfault with fullscreen --- sway/desktop/output.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 6b2eb0c2..31b53213 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -317,8 +317,9 @@ static void send_frame_done(struct sway_output *output, struct timespec *when) { struct sway_container *workspace = output_get_active_workspace(output); if (workspace->current.ws_fullscreen) { if (workspace->current.ws_fullscreen->type == C_VIEW) { - send_frame_done_container_iterator( - workspace->current.ws_fullscreen, when); + output_view_for_each_surface(output, + workspace->current.ws_fullscreen->sway_view, + send_frame_done_iterator, when); } else { send_frame_done_container(output, workspace->current.ws_fullscreen, when); -- cgit v1.2.3