Revision 110defd7 ui/sdl.c
b/ui/sdl.c | ||
---|---|---|
891 | 891 |
qemu_free(filename); |
892 | 892 |
} |
893 | 893 |
|
894 |
if (full_screen) { |
|
895 |
gui_fullscreen = 1; |
|
896 |
sdl_grab_start(); |
|
897 |
} |
|
898 |
|
|
894 | 899 |
dcl = qemu_mallocz(sizeof(DisplayChangeListener)); |
895 | 900 |
dcl->dpy_update = sdl_update; |
896 | 901 |
dcl->dpy_resize = sdl_resize; |
... | ... | |
920 | 925 |
sdl_cursor_normal = SDL_GetCursor(); |
921 | 926 |
|
922 | 927 |
atexit(sdl_cleanup); |
923 |
if (full_screen) { |
|
924 |
gui_fullscreen = 1; |
|
925 |
sdl_grab_start(); |
|
926 |
} |
|
927 | 928 |
} |
Also available in: Unified diff