Changeset 4127 in vbox
- Timestamp:
- Aug 13, 2007 11:05:15 AM (18 years ago)
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r4095 r4127 4235 4235 #ifdef RT_OS_LINUX 4236 4236 /* make sure the VM process will start on the same display as VBoxManage */ 4237 env = Utf8StrFmt ("DISPLAY=%s", getenv ("DISPLAY")); 4237 { 4238 const char *display = getenv ("DISPLAY"); 4239 if (display) 4240 env = Utf8StrFmt ("DISPLAY=%s", display); 4241 } 4238 4242 #endif 4239 4243 ComPtr<IProgress> progress; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r4071 r4127 847 847 #if defined (Q_WS_X11) 848 848 /* make sure the VM process will start on the same display as the Selector */ 849 env.sprintf ("DISPLAY=%s", getenv ("DISPLAY")); 849 { 850 const char *display = getenv ("DISPLAY"); 851 if (display) 852 env.sprintf ("DISPLAY=%s", display); 853 } 850 854 #endif 851 855
Note:
See TracChangeset
for help on using the changeset viewer.