summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-10-19 22:28:02 +1000
committerFurkan Sahin <furkan-dev@proton.me>2018-10-19 22:28:02 +1000
commitfefbb2d2c1d7a52d7d282b35dd512c63bfaebc95 (patch)
tree60a0dbb15a7ecc160bff46acec7aead1ca06ae54 /include
parent021c598e67a99d6ac91c38fd9bd4aa5ace882441 (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')
-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;