From 4d743b64d0a8e15f79b0b71fd8b82bb044a6e82b Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Fri, 19 Oct 2018 22:28:02 +1000 Subject: Fix logic used for mouse_warping output Turns out we don't need to store the previous focus, and it should be based on which output the cursor was in. --- include/sway/input/seat.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index eb0d1a02..e9f553f3 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h @@ -52,7 +52,6 @@ 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; -- cgit v1.2.3-70-g09d2