mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
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:
parent
96e3686ae8
commit
4d743b64d0
2 changed files with 9 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue