ActivityMonitor: restores default position when it starts out of screen

Change-Id: Ied6339a900f3314be39a7ec1a4b9906d20c529e7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8373
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Jérôme Duval 2024-09-26 19:42:15 +02:00 committed by waddlesplash
parent ad747ccb1c
commit 039f93ce5e

View File

@ -21,6 +21,7 @@ ActivityMonitor::ActivityMonitor()
: BApplication(kSignature)
{
fWindow = new ActivityWindow();
fWindow->MoveOnScreen(B_MOVE_IF_PARTIALLY_OFFSCREEN);
}