seat: refactor seat_focus_surface()

This commit is contained in:
Johan Malm 2020-10-06 21:31:01 +01:00
parent 50bcfa00f3
commit e400700a4a
4 changed files with 11 additions and 8 deletions

View file

@ -93,7 +93,7 @@ void
desktop_focus_view(struct view *view)
{
if (!view) {
seat_focus_surface(NULL);
seat_focus_surface(view->server->seat.seat, NULL);
return;
}
if (view->minimized) {