Skip to content

Commit

Permalink
Clear focus if no focusable apps are found
Browse files Browse the repository at this point in the history
  • Loading branch information
tarek-y-ismail committed Dec 12, 2024
1 parent 4a16f8c commit 4d7c4a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/miral/basic_window_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ void miral::BasicWindowManager::refocus(

if (new_focus) return;
}

// Can't focus anything else
focus_controller->set_focus_to(nullptr, nullptr);
}

void miral::BasicWindowManager::erase(miral::WindowInfo const& info)
Expand Down

0 comments on commit 4d7c4a2

Please sign in to comment.