All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] Patch for ui/cocoa.m
@ 2011-10-18  1:22 ` Juan Pineda
  0 siblings, 0 replies; 10+ messages in thread
From: Juan Pineda @ 2011-10-18  1:22 UTC (permalink / raw)
  To: aliguori, qemu-devel; +Cc: qemu-trivial

Hello,

This is my first time submitting a patch, so please let me know if I'm not following the correct protocol.

Under OSX Lion the boot volume dialog is not closed and it permanently obscures the emulator window since under Lion the dialog cannot be repositioned. The fix adds only to add a single line to close the dialog.

Signed-off-by: Juan Pineda <juan@logician.com>

Thanks!
-Juan


> git diff ui/cocoa.m
diff --git a/ui/cocoa.m b/ui/cocoa.m
index d9e4e3d..4b42462 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -811,6 +811,8 @@ QemuCocoaView *cocoaView;
 
         char **argv = (char**)malloc( sizeof(char*)*3 );
 
+       [sheet close];
+
         asprintf(&argv[0], "%s", bin);
         asprintf(&argv[1], "-hda");
         asprintf(&argv[2], "%s", img);



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-31 17:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18  1:22 [Qemu-trivial] Patch for ui/cocoa.m Juan Pineda
2011-10-18  1:22 ` [Qemu-devel] " Juan Pineda
2011-10-18  9:11 ` [Qemu-trivial] " Andreas Färber
2011-10-18  9:11   ` Andreas Färber
2011-10-18 14:35   ` Juan Pineda
2011-10-30 22:45     ` Andreas Färber
2011-10-31 15:32       ` Juan Pineda
2011-10-31 16:25         ` [Qemu-devel] Problem under OSX Lion: GThread-ERROR **: GThread system may only be initialized once Juan Pineda
2011-10-31 16:36           ` Daniel P. Berrange
2011-10-31 16:40             ` Andreas Färber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.