From 09362b0d5cc029e16659991063bbd3971ea5b360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 8 Feb 2006 17:50:36 +0000 Subject: [PATCH] use the current screen git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16299 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/screen_blanker/PasswordWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/screen_blanker/PasswordWindow.cpp b/src/bin/screen_blanker/PasswordWindow.cpp index 06b1ac42ce..1c4f12160a 100644 --- a/src/bin/screen_blanker/PasswordWindow.cpp +++ b/src/bin/screen_blanker/PasswordWindow.cpp @@ -15,7 +15,7 @@ void PasswordWindow::Setup() { - BScreen theScreen(B_MAIN_SCREEN_ID); + BScreen theScreen(this); MoveTo((theScreen.Frame().IntegerWidth()-Bounds().IntegerWidth())/2,(theScreen.Frame().IntegerHeight()-Bounds().IntegerHeight())/2); fBgd=new BView (Bounds(),"fBgdView",0,0); fBgd->SetHighColor(ui_color(B_MENU_BACKGROUND_COLOR));