From: Orestis Floros Date: Fri, 17 Aug 2018 03:06:56 +0000 (+0300) Subject: randr_query_outputs: con_activate -> workspace_show X-Git-Tag: 4.16~59^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7010644964a84666453cb8ddae1ee6e5b56562ed;p=i3%2Fi3 randr_query_outputs: con_activate -> workspace_show workspace_show will call x_set_warp_to if needed. Fixes #3333 --- diff --git a/src/randr.c b/src/randr.c index 38f1ee97..44071a53 100644 --- a/src/randr.c +++ b/src/randr.c @@ -946,7 +946,9 @@ void randr_query_outputs(void) { continue; DLOG("Focusing primary output %s\n", output_primary_name(output)); - con_activate(con_descend_focused(output->con)); + Con *content = output_get_content(output->con); + Con *ws = TAILQ_FIRST(&(content)->focus_head); + workspace_show(ws); } /* render_layout flushes */