diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-31 15:32:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-31 15:32:29 -0400 |
commit | 122b96abed9955f78e3f157167d34312f5bb551d (patch) | |
tree | fdcb6ffc0520145a029118aec443eb2199981d77 /include | |
parent | 543081ab1c050654a11b899f276b273acd91b43b (diff) | |
parent | f2332dc75c05a62f87ba290433f12f4ce7f467ec (diff) | |
download | sway-122b96abed9955f78e3f157167d34312f5bb551d.tar.xz |
Merge pull request #1684 from swaywm/follow-warp
Implement focus_follows_mouse, mouse_warping
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 1 | ||||
-rw-r--r-- | include/sway/input/seat.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index ac1105b4..03b51948 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -304,7 +304,6 @@ struct sway_config { bool reloading; bool reading; bool auto_back_and_forth; - bool seamless_mouse; bool show_marks; bool edge_gaps; diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index 496bfd5d..31210a5a 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h @@ -56,6 +56,9 @@ void sway_seat_configure_xcursor(struct sway_seat *seat); void sway_seat_set_focus(struct sway_seat *seat, struct sway_container *container); +void sway_seat_set_focus_warp(struct sway_seat *seat, + struct sway_container *container, bool warp); + struct sway_container *sway_seat_get_focus(struct sway_seat *seat); /** |