aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-10-19 22:28:02 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-10-19 22:28:02 +1000
commit4d743b64d0a8e15f79b0b71fd8b82bb044a6e82b (patch)
tree60a0dbb15a7ecc160bff46acec7aead1ca06ae54 /include/sway
parent96e3686ae882818edc35a14c207dfd97c40366d9 (diff)
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.
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/input/seat.h1
1 files changed, 0 insertions, 1 deletions
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;