ActivityMonitor: never show settings window off-screen
Change-Id: Ibfd6eaf0a1b27e085b9e31173452e126a44329ca Reviewed-on: https://review.haiku-os.org/c/haiku/+/6176 Tested-by: Automation <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -106,6 +106,8 @@ SettingsWindow::SettingsWindow(ActivityWindow* target)
|
|||||||
|
|
||||||
if (target->IsAlwaysOnTop())
|
if (target->IsAlwaysOnTop())
|
||||||
SetFeel(B_MODAL_ALL_WINDOW_FEEL);
|
SetFeel(B_MODAL_ALL_WINDOW_FEEL);
|
||||||
|
|
||||||
|
this->MoveOnScreen(B_MOVE_IF_PARTIALLY_OFFSCREEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user