Slightly tweak window behavior

This commit is contained in:
Jaidyn Ann 2022-05-01 11:37:34 -05:00
parent 551fcb8c71
commit 2316c1bf5f

View File

@ -14,9 +14,10 @@
MainWindow::MainWindow()
:
BWindow(BRect(BPoint(0,0),BSize(500.0, 500.0)), "MediaMonitor",
B_TITLED_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS)
B_TITLED_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS | B_QUIT_ON_WINDOW_CLOSE)
{
SetPulseRate(0);
CenterOnScreen();
_InitInterface();
}