mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00: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
|
@ -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