diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index ce933b66..a81a88a8 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -245,7 +245,7 @@ static void handle_seat_node_destroy(struct wl_listener *listener, void *data) { | |||
245 | seat_node_destroy(seat_node); | 245 | seat_node_destroy(seat_node); |
246 | // If an unmanaged or layer surface is focused when an output gets | 246 | // If an unmanaged or layer surface is focused when an output gets |
247 | // disabled and an empty workspace on the output was focused by the | 247 | // disabled and an empty workspace on the output was focused by the |
248 | // seat, the seat needs to refocus it's focus inactive to update the | 248 | // seat, the seat needs to refocus its focus inactive to update the |
249 | // value of seat->workspace. | 249 | // value of seat->workspace. |
250 | if (seat->workspace == node->sway_workspace) { | 250 | if (seat->workspace == node->sway_workspace) { |
251 | struct sway_node *node = seat_get_focus_inactive(seat, &root->node); | 251 | struct sway_node *node = seat_get_focus_inactive(seat, &root->node); |