randr_query_outputs: con_activate -> workspace_show
workspace_show will call x_set_warp_to if needed. Fixes #3333
This commit is contained in:
parent
4b3ff9cdd4
commit
7010644964
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue