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:
parent
cb65bb8732
commit
6189b5a12f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user