qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Makes -full-screen option work on Mac OS X


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] Makes -full-screen option work on Mac OS X
Date: Mon, 12 Jan 2015 16:10:56 +0000

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

> +// 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

[Prev in Thread] Current Thread [Next in Thread]