diff --git a/sway/handlers.c b/sway/handlers.c index 80692371..6d35f8a2 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -226,7 +226,7 @@ static void handle_output_focused(wlc_handle output, bool focus) { handle_output_created(output); } if (focus) { - set_focused_container(c); + set_focused_container(get_focused_container(c)); } }