mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
Fixed BScreen::SetMode() to use the current workspace when none is given.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20053 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ad7e408e18
commit
234554ce4b
@ -350,7 +350,7 @@ status_t
|
||||
BScreen::SetMode(display_mode *mode, bool makeDefault)
|
||||
{
|
||||
if (fScreen != NULL)
|
||||
return fScreen->SetMode(B_ALL_WORKSPACES, mode, makeDefault);
|
||||
return fScreen->SetMode(current_workspace(), mode, makeDefault);
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user