On 12 January 2015 at 00:31, Programmingkid <programmingk...@gmail.com> wrote:
> This patch makes the -full-screen option work under Mac OS X.
>
> Signed-off-by: John Arbuckle <programmingk...@gmail.com>

> +// Looks for the -full-screen option being sent to QEMU
> +static void scanForFullScreenOption(int argc, char * argv[])
> +{
> + set_to_full_screen = false;
> +
> + // search for the -full-screen option
> + for(int i = 0; i < argc; i++) {
> +     if(strcmp(argv[i], "-full-screen") == 0) {
> +         set_to_full_screen = true;
> +            break;
> +     }
> + }
> +}

Why do we need to do this rather than just honouring the
full_screen parameter passed into cocoa_display_init() ?

thanks
-- PMM

Reply via email to