Changeset 2835 in vbox
- Timestamp:
- May 24, 2007 10:15:27 AM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h
r2764 r2835 91 91 void onFullscreenChange (bool on); 92 92 93 void onViewOpened(); 94 93 95 void fixModifierState (LONG *codes, uint *count); 94 96 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r2764 r2835 457 457 , hostkey_pressed (false) 458 458 , hostkey_alone (false) 459 , ignore_mainwnd_resize ( false)459 , ignore_mainwnd_resize (true) 460 460 , mAutoresizeGuest (false) 461 461 , mIsAdditionsActive (false) … … 788 788 { 789 789 /* Nothing to do here so far */ 790 } 791 792 /** 793 * Notify the console scroll-view about the console-window is opened. 794 */ 795 void VBoxConsoleView::onViewOpened() 796 { 797 /* Variable <ignore_mainwnd_resize> is initially "true" to ignore QT 798 * initial resize event in case of auto-resize feature is on. 799 * Currently initial resize event is already processed, so switching 800 * the ignore_mainwnd_resize to "false" to process all further resize 801 * events as user resize events. */ 802 ignore_mainwnd_resize = false; 790 803 } 791 804 … … 2873 2886 } 2874 2887 2875 /** 2888 /** 2876 2889 * Sets the the minimum size restriction depending on the auto-resize feature 2877 2890 * state and the current rendering mode. -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r2801 r2835 1060 1060 LogFlowFuncEnter(); 1061 1061 1062 /* Notify the console scroll-view about the console-window is opened. */ 1063 console->onViewOpened(); 1064 1062 1065 bool saved = machine_state == CEnums::Saved; 1063 1066
Note:
See TracChangeset
for help on using the changeset viewer.