summaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
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) {
226 handle_output_created(output); 226 handle_output_created(output);
227 } 227 }
228 if (focus) { 228 if (focus) {
229 set_focused_container(c); 229 set_focused_container(get_focused_container(c));
230 } 230 }
231} 231}
232 232