diff options
author | rich cannings <richc@google.com> | 2011-01-25 13:33:25 -0800 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-01-25 13:33:25 -0800 |
commit | 2223b9aef3c87386f51d007fa3e03a6f2ac41e74 (patch) | |
tree | 4f41fb5b5fe0e24dd58ad95ba4d3fa31bdc585ab | |
parent | d869b7ccca003d255d303ec684e3eb7249b8323e (diff) | |
parent | 646a4f8761b4de1f20a42b7e069ca0f75689724a (diff) | |
download | external_qemu-2223b9aef3c87386f51d007fa3e03a6f2ac41e74.zip external_qemu-2223b9aef3c87386f51d007fa3e03a6f2ac41e74.tar.gz external_qemu-2223b9aef3c87386f51d007fa3e03a6f2ac41e74.tar.bz2 |
Merge "Use setenv when available"
-rw-r--r-- | android/skin/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/skin/window.c b/android/skin/window.c index c577f8f..431412b 100644 --- a/android/skin/window.c +++ b/android/skin/window.c @@ -1255,11 +1255,12 @@ skin_window_resize( SkinWindow* window ) #ifdef HAVE_SETENV sprintf(temp, "%d,%d", window_x, window_y); setenv("SDL_VIDEO_WINDOW_POS", temp, 1); + setenv("SDL_VIDEO_WINDOW_FORCE_VISIBLE", "1", 1); #else sprintf(temp,"SDL_VIDEO_WINDOW_POS=%d,%d",window_x,window_y); putenv(temp); -#endif putenv("SDL_VIDEO_WINDOW_FORCE_VISIBLE=1"); +#endif } flags = SDL_SWSURFACE; |