aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tudor Brindus <me@tbrindus.ca>2020-10-31 19:56:40 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2020-11-01 03:43:00 -0500
commit60d95414d4a7ff163099c9e551ec435cb0cb7eca (patch)
tree1a4bcf041850390d00f05e78884dab51b4ef0c35 /include
parentinput: remove motion deltas from seatop callbacks (diff)
downloadsway-60d95414d4a7ff163099c9e551ec435cb0cb7eca.tar.gz
sway-60d95414d4a7ff163099c9e551ec435cb0cb7eca.tar.zst
sway-60d95414d4a7ff163099c9e551ec435cb0cb7eca.zip
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.h2
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,
116 struct wl_client *client); 116 struct wl_client *client);
117 117
118void cursor_warp_to_container(struct sway_cursor *cursor, 118void cursor_warp_to_container(struct sway_cursor *cursor,
119 struct sway_container *container); 119 struct sway_container *container, bool force);
120 120
121void cursor_warp_to_workspace(struct sway_cursor *cursor, 121void cursor_warp_to_workspace(struct sway_cursor *cursor,
122 struct sway_workspace *workspace); 122 struct sway_workspace *workspace);