mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
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:
parent
195226120f
commit
bd4c3957ba
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue