diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-04-10 23:31:50 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-04-11 09:19:45 -0600 |
commit | bd4c3957bab5837a9a0b4b8d4690d6b50ba5763e (patch) | |
tree | 3d3e12a3e7f572f0b66c103f1c99df61693f636d | |
parent | 195226120fcf4854c90e544a6e7e0ec0b1c3312c (diff) |
cmd_focus: raise floating for `<criteria> focus`
Floaters are currently raised for `focus <direction>`. This extends the
same functionality to `<criteria> focus`.
-rw-r--r-- | sway/commands/focus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c index 33d01405..14e90955 100644 --- a/sway/commands/focus.c +++ b/sway/commands/focus.c @@ -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); } |