ActivityMonitor: never show settings window off-screen

Change-Id: Ibfd6eaf0a1b27e085b9e31173452e126a44329ca
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6176
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
eblanca 2023-03-07 00:47:23 +00:00 committed by waddlesplash
parent fa39528cf9
commit 1f40cad263

View File

@ -106,6 +106,8 @@ SettingsWindow::SettingsWindow(ActivityWindow* target)
if (target->IsAlwaysOnTop())
SetFeel(B_MODAL_ALL_WINDOW_FEEL);
this->MoveOnScreen(B_MOVE_IF_PARTIALLY_OFFSCREEN);
}