Make ScreenSaverWindow B_NOT_MOVABLE-prevent password hack

Fixes #9196

Signed-off-by: Siarzhuk Zharski <[email protected]>
This commit is contained in:
Sergei Reznikov
2012-12-02 11:53:12 +01:00
committed by Siarzhuk Zharski
parent 2b754fc1fa
commit d3144dd06b
+1 -1
View File
@@ -79,7 +79,7 @@ ScreenSaverFilter::SetEnabled(bool enabled)
ScreenSaverWindow::ScreenSaverWindow(BRect frame)
: BDirectWindow(frame, "ScreenSaver Window",
B_NO_BORDER_WINDOW_LOOK, kWindowScreenFeel,
B_NOT_RESIZABLE | B_NOT_ZOOMABLE, B_ALL_WORKSPACES),
B_NOT_RESIZABLE | B_NOT_MOVABLE | B_NOT_ZOOMABLE, B_ALL_WORKSPACES),
fSaver(NULL)
{
frame.OffsetTo(0, 0);