aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-18 15:18:41 +0200
committerGitHub <noreply@github.com>2018-10-18 15:18:41 +0200
commitd88b7a63f487587d9507164de31d6e8508b32801 (patch)
treedbf14c684b7802c2f2876fc8b11636bec26abc3d /include/sway/input
parent103b7bc47d656e91406f5493a3e1317cb9ce5c02 (diff)
parent24a90e5d86441fc345356eb3767e5a6880dcedbd (diff)
Merge pull request #2871 from RyanDwyer/untangle-cursor-warp
Remove cursor warping from seat_set_focus
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/seat.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index be95567e..b3b98e8d 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -52,6 +52,7 @@ struct sway_seat {
bool has_focus;
struct wl_list focus_stack; // list of containers in focus order
struct sway_workspace *workspace;
+ struct sway_node *prev_focus;
// If the focused layer is set, views cannot receive keyboard focus
struct wlr_layer_surface_v1 *focused_layer;
@@ -121,9 +122,6 @@ void seat_set_focus_workspace(struct sway_seat *seat,
*/
void seat_set_raw_focus(struct sway_seat *seat, struct sway_node *node);
-void seat_set_focus_warp(struct sway_seat *seat,
- struct sway_node *node, bool warp);
-
void seat_set_focus_surface(struct sway_seat *seat,
struct wlr_surface *surface, bool unfocus);