Skip to content

Commit bb40c35

Browse files
committed
Reset overlay display mode to Always when changing origin to Theater Screen
1 parent 8755a53 commit bb40c35

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/DesktopPlusUI/WindowOverlayProperties.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,10 @@ void WindowOverlayProperties::UpdatePageMainCatPosition()
519519
//Also disable Gaze Fade if it's on
520520
ConfigManager::SetValue(configid_bool_overlay_gazefade_enabled, false);
521521
IPCManager::Get().PostConfigMessageToDashboardApp(configid_bool_overlay_gazefade_enabled, false);
522+
523+
//...and reset display mode to Always. It technically works in that the overlay stops updating but that's not helpful if the theater screen is showing
524+
ConfigManager::SetValue(configid_int_overlay_display_mode, ovrl_dispmode_always);
525+
IPCManager::Get().PostConfigMessageToDashboardApp(configid_int_overlay_display_mode, ovrl_dispmode_always);
522526
}
523527

524528
IPCManager::Get().PostConfigMessageToDashboardApp(configid_int_overlay_origin, mode_origin);

0 commit comments

Comments
 (0)