[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: |
Programmingkid |
Subject: |
Re: [Qemu-devel] [PATCH] Makes -full-screen option work on Mac OS X |
Date: |
Mon, 12 Jan 2015 11:16:06 -0500 |
On Jan 12, 2015, at 11:10 AM, Peter Maydell wrote:
> 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() ?
Didn't know about this variable. Will make a new patch that eliminates unneeded
code. Thanks.