Changeset 11419 in vbox for trunk/src/VBox
- Timestamp:
- Aug 14, 2008 9:57:38 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 34739
- Location:
- trunk/src/VBox/Frontends/VBoxSDL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r11400 r11419 140 140 /* On some X servers the mouse is stuck inside the bottom right corner. 141 141 * See http://wiki.clug.org.za/wiki/QEMU_mouse_not_working */ 142 setenv("SDL_VIDEO_X11_DGAMOUSE", "0", 1);142 RTEnvSet("SDL_VIDEO_X11_DGAMOUSE", "0"); 143 143 #endif 144 144 rc = SDL_InitSubSystem(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_NOPARACHUTE); -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r11400 r11419 57 57 #include <VBox/log.h> 58 58 #include <VBox/version.h> 59 60 #include <iprt/alloca.h> 61 #include <iprt/assert.h> 62 #include <iprt/env.h> 63 #include <iprt/ldr.h> 59 64 #include <iprt/path.h> 65 #include <iprt/runtime.h> 66 #include <iprt/semaphore.h> 60 67 #include <iprt/string.h> 61 #include <iprt/runtime.h>62 #include <iprt/assert.h>63 #include <iprt/semaphore.h>64 68 #include <iprt/stream.h> 65 69 #include <iprt/uuid.h> 66 #include <iprt/ldr.h>67 #include <iprt/alloca.h>68 70 69 71 #include <signal.h> … … 969 971 * events in ProcessKeys(). 970 972 */ 971 setenv("SDL_DISABLE_LOCK_KEYS", "1", 1);973 RTEnvSet("SDL_DISABLE_LOCK_KEYS", "1"); 972 974 #endif 973 975 … … 1298 1300 gfFullscreenResize = true; 1299 1301 #ifdef VBOXSDL_WITH_X11 1300 setenv("SDL_VIDEO_X11_VIDMODE", "0", 1);1302 RTEnvSet("SDL_VIDEO_X11_VIDMODE", "0"); 1301 1303 #endif 1302 1304 } -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDLTest.cpp
r8155 r11419 104 104 _putenv("SDL_VIDEO_WINDOW_POS=0,0"); 105 105 #else 106 setenv("SDL_VIDEO_WINDOW_POS", "0,0", 1);106 RTEnvSet("SDL_VIDEO_WINDOW_POS", "0,0"); 107 107 #endif 108 108
Note:
See TracChangeset
for help on using the changeset viewer.