cmd_focus: raise floating for <criteria> focus

Floaters are currently raised for `focus <direction>`. This extends the
same functionality to `<criteria> focus`.
This commit is contained in:
Brian Ashworth 2019-04-10 23:31:50 -04:00 committed by Drew DeVault
parent 195226120f
commit bd4c3957ba

View File

@ -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);
}