Changeset 8385 in vbox for trunk/src/VBox
- Timestamp:
- Apr 25, 2008 1:35:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r8363 r8385 1974 1974 LONG maxWidth = guest.GetMaxGuestWidth(); 1975 1975 LONG maxHeight = guest.GetMaxGuestHeight(); 1976 /** @todo this implements the correct size computation for X11 guests. 1977 * Using a less wasteful approach than using a square region would be 1978 * appreciated, but this has to reflect what the guest additions do. */ 1979 if (maxWidth || maxHeight) 1980 usedBits = RT_MAX(usedBits, ( RT_MAX(screen.width(), screen.height()) 1981 * RT_MAX(screen.width(), screen.height()) 1982 * guestBpp 1983 + _1M * 8) /* current cache per screen - may be changed in future */ 1984 * csession.GetMachine().GetMonitorCount() /**< @todo fix assumption that all screens have same resolution */ 1985 + 4096 * 8); /* adapter info */ 1986 1976 1987 if (aOn && ( (availBits < usedBits) 1977 1988 || ((maxWidth != 0) && (maxWidth < screen.width()))
Note:
See TracChangeset
for help on using the changeset viewer.