Skip to content

Commit

Permalink
Add B_NOT_CLOSEABLE|B_NOT_MINIMIZABLE to ScreenSaverWindow
Browse files Browse the repository at this point in the history
Yet another screensaver password hack prevented. Yet another
attempt to close #9196 is made.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
  • Loading branch information
diversys authored and siarzhuk committed Dec 2, 2012
1 parent cb65bb8 commit 6189b5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/screen_blanker/ScreenSaverWindow.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 6189b5a

Please sign in to comment.