seat: remove seat_focused_surface()

This commit is contained in:
Johan Malm 2020-10-07 21:49:58 +01:00
parent 7eb33334d2
commit 8e2b3ea89a
5 changed files with 6 additions and 12 deletions

View file

@ -76,7 +76,7 @@ focus_view(struct view *view)
return;
}
if (prev_surface) {
set_activated(wlr_seat->keyboard_state.focused_surface, false);
set_activated(prev_surface, false);
}
move_to_front(view);