Reset the colors before switching the screen mode
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32365 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6e59af7488
commit
b4510aa10c
@ -727,15 +727,16 @@ BWindowScreen::_Deactivate()
|
||||
} else
|
||||
ScreenConnected(false);
|
||||
|
||||
if (fActivateState) {
|
||||
BScreen screen(this);
|
||||
SetColorList((rgb_color *)screen.ColorMap()->color_list);
|
||||
}
|
||||
|
||||
_AssertDisplayMode(fOriginalDisplayMode);
|
||||
|
||||
_ResetAccelerantHooks();
|
||||
|
||||
be_app->ShowCursor();
|
||||
if (fActivateState) {
|
||||
BScreen screen(this);
|
||||
SetColorList((rgb_color *)screen.ColorMap()->color_list);
|
||||
}
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user