Add B_NOT_CLOSEABLE|B_NOT_MINIMIZABLE to ScreenSaverWindow

Yet another screensaver password hack prevented. Yet another
attempt to close #9196 is made.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
This commit is contained in:
Sergei Reznikov 2012-12-02 13:51:50 +01:00 committed by Siarzhuk Zharski
parent cb65bb8732
commit 6189b5a12f

View File

@ -79,7 +79,8 @@ ScreenSaverFilter::SetEnabled(bool enabled)
ScreenSaverWindow::ScreenSaverWindow(BRect frame)
: BDirectWindow(frame, "ScreenSaver Window",
B_NO_BORDER_WINDOW_LOOK, kWindowScreenFeel,
B_NOT_RESIZABLE | B_NOT_MOVABLE | B_NOT_ZOOMABLE, B_ALL_WORKSPACES),
B_NOT_RESIZABLE | B_NOT_MOVABLE | B_NOT_MINIMIZABLE
| B_NOT_ZOOMABLE | B_NOT_CLOSABLE, B_ALL_WORKSPACES),
fSaver(NULL)
{
frame.OffsetTo(0, 0);