mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 11:43:16 +02:00
Add changed display mode tracking
This commit is contained in:
parent
1eaa9e40cd
commit
ab057010d6
1 changed files with 5 additions and 0 deletions
|
@ -5266,6 +5266,11 @@ void Application::updateDisplayMode() {
|
|||
return;
|
||||
}
|
||||
|
||||
UserActivityLogger::getInstance().logAction("changed_display_mode", {
|
||||
{ "previous_display_mode", _displayPlugin ? _displayPlugin->getName() : "" },
|
||||
{ "display_mode", newDisplayPlugin ? newDisplayPlugin->getName() : "" }
|
||||
});
|
||||
|
||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||
|
||||
// Make the switch atomic from the perspective of other threads
|
||||
|
|
Loading…
Reference in a new issue