Probably shouldn't hardcode that

This commit is contained in:
Exverge 2024-03-24 20:07:36 +01:00
parent c9bb915949
commit 0d6afb21d3

View file

@ -336,9 +336,9 @@ void AppletManager::SetWindowSystem(WindowSystem* window_system) {
applet->process->Run();
}
void AppletManager::TrackApplet(std::shared_ptr<Applet> applet, bool is_application) {
m_window_system->TrackApplet(applet, true);
void AppletManager::TrackApplet(std::shared_ptr<Applet> applet, bool is_application) {
m_window_system->TrackApplet(applet, false);
m_window_system->RequestApplicationToGetForeground();
}
}
} // namespace Service::AM