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.
This commit is contained in:
Ryan Dwyer 2018-10-19 22:28:02 +10:00
parent 96e3686ae8
commit 4d743b64d0
2 changed files with 9 additions and 6 deletions

View file

@ -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;