diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-10-19 22:28:02 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-10-19 22:28:02 +1000 |
commit | 4d743b64d0a8e15f79b0b71fd8b82bb044a6e82b (patch) | |
tree | 60a0dbb15a7ecc160bff46acec7aead1ca06ae54 /include/sway/input | |
parent | Merge pull request #2875 from RedSoxFan/input-device-bindings (diff) | |
download | sway-4d743b64d0a8e15f79b0b71fd8b82bb044a6e82b.tar.gz sway-4d743b64d0a8e15f79b0b71fd8b82bb044a6e82b.tar.zst sway-4d743b64d0a8e15f79b0b71fd8b82bb044a6e82b.zip |
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/input')
-rw-r--r-- | include/sway/input/seat.h | 1 |
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 { | |||
52 | bool has_focus; | 52 | bool has_focus; |
53 | struct wl_list focus_stack; // list of containers in focus order | 53 | struct wl_list focus_stack; // list of containers in focus order |
54 | struct sway_workspace *workspace; | 54 | struct sway_workspace *workspace; |
55 | struct sway_node *prev_focus; | ||
56 | 55 | ||
57 | // If the focused layer is set, views cannot receive keyboard focus | 56 | // If the focused layer is set, views cannot receive keyboard focus |
58 | struct wlr_layer_surface_v1 *focused_layer; | 57 | struct wlr_layer_surface_v1 *focused_layer; |