* Fixed computation of the screen frame in case of multiple screens.
* Removed debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32561 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5ce919497d
commit
90ac66553e
@ -167,7 +167,7 @@ VirtualScreen::UpdateFrame()
|
||||
|
||||
// TODO: compute virtual size depending on the actual screen position!
|
||||
virtualWidth += width;
|
||||
virtualHeight += height;
|
||||
virtualHeight = max_c(virtualHeight, height);
|
||||
}
|
||||
|
||||
fFrame.Set(0, 0, virtualWidth - 1, virtualHeight - 1);
|
||||
@ -239,7 +239,6 @@ VirtualScreen::_GetMode(Screen* screen, ScreenConfigurations& configurations,
|
||||
return B_NAME_NOT_FOUND;
|
||||
|
||||
mode = configuration->mode;
|
||||
debug_printf("found configuration! (%d x %d)\n", mode.virtual_width, mode.virtual_height);
|
||||
configuration->is_current = true;
|
||||
|
||||
return B_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user