ActivityMonitor: Settings now modal when always on top enabled.

* #9534

Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
Freeman Lou
2013-12-02 17:39:01 +01:00
committed by Jérôme Duval
parent 043ffc015a
commit 89e0a7fb84
3 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -105,6 +105,8 @@ SettingsWindow::SettingsWindow(ActivityWindow* target)
.Add(fIntervalSlider)
.SetInsets(10, 10, 10, 10)
);
if (target->IsAlwaysOnTop())
SetFeel(B_MODAL_ALL_WINDOW_FEEL);
}
@@ -151,4 +153,3 @@ SettingsWindow::_RelativeTo(BWindow* window)
return BRect(frame.right - 150, frame.top + frame.Height() / 4,
frame.right + 200, frame.top + frame.Height() / 4 + 50);
}