aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-04 14:18:13 +0200
committerGitHub <noreply@github.com>2018-10-04 14:18:13 +0200
commit0d5c2f75b58aecbfa539dcb345c64be4bfe184bf (patch)
treee9bb6e6d7ee7ca5abf696af42ab27bc7735c8556 /sway/input/seat.c
parent192ec7d6c8843b18aafce70eefe322e6db11e5b9 (diff)
parent32cb631143fe9087d9d14e96f42a38f602369212 (diff)
Merge pull request #2760 from RyanDwyer/swaylock-handle-output-disconnect
Give focus to another swaylock surface when output is disconnected
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 15c56a43..415f85ac 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -800,9 +800,6 @@ void seat_set_focus_workspace(struct sway_seat *seat,
void seat_set_focus_surface(struct sway_seat *seat,
struct wlr_surface *surface, bool unfocus) {
- if (seat->focused_layer != NULL) {
- return;
- }
if (seat->has_focus && unfocus) {
struct sway_node *focus = seat_get_focus(seat);
seat_send_unfocus(focus, seat);