On Jan 12, 2015, at 11:10 AM, Peter Maydell wrote:

> 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() ?

Didn't know about this variable. Will make a new patch that eliminates unneeded 
code. Thanks. 

Reply via email to