cmd_focus: raise floating for `<criteria> focus`

Floaters are currently raised for `focus <direction>`. This extends the
same functionality to `<criteria> focus`.
master
Brian Ashworth 6 years ago committed by Drew DeVault
parent 195226120f
commit bd4c3957ba

@ -317,6 +317,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
}
seat_set_focus_container(seat, container);
seat_consider_warp_to_focus(seat);
container_raise_floating(container);
return cmd_results_new(CMD_SUCCESS, NULL);
}

Loading…
Cancel
Save