diff options
author | Tudor Brindus <me@tbrindus.ca> | 2020-10-31 19:56:40 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-11-01 03:43:00 -0500 |
commit | 60d95414d4a7ff163099c9e551ec435cb0cb7eca (patch) | |
tree | 1a4bcf041850390d00f05e78884dab51b4ef0c35 /include | |
parent | 8c12e71a66feb1cac545dc8746f817772eb77d2f (diff) |
commands/focus: force container warp when fulfilling `focus mode_toggle`
This commit switches focusing behavior to force a warp when executing
`focus mode_toggle`.
Fixes #5772.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index ca3c6f4b..55e2ce8e 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -116,7 +116,7 @@ void cursor_set_image_surface(struct sway_cursor *cursor, struct wl_client *client); void cursor_warp_to_container(struct sway_cursor *cursor, - struct sway_container *container); + struct sway_container *container, bool force); void cursor_warp_to_workspace(struct sway_cursor *cursor, struct sway_workspace *workspace); |