[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 RESEND 10/11] Cocoa: Suppress window resize anima
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH v2 RESEND 10/11] Cocoa: Suppress window resize animation |
Date: |
Wed, 6 Jan 2010 23:47:16 +0100 |
Disable the nice resize animation, to avoid drawing glitches
following a guest's screen size change.
Based on patch by Juha Riihimäki.
Signed-off-by: Andreas Färber <address@hidden>
Cc: Juha Riihimäki <address@hidden>
Cc: Alexander Graf <address@hidden>
Cc: Mike Kronenberg <address@hidden>
---
cocoa.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cocoa.m b/cocoa.m
index 57dcff8..bb4325c 100644
--- a/cocoa.m
+++ b/cocoa.m
@@ -419,7 +419,7 @@ static int cocoa_keycode_to_qemu(int keycode)
} else {
if (qemu_name)
[normalWindow setTitle:[NSString stringWithFormat:@"QEMU %s",
qemu_name]];
- [normalWindow setFrame:NSMakeRect([normalWindow frame].origin.x,
[normalWindow frame].origin.y - h + screen.height, w, h + [normalWindow
frame].size.height - screen.height) display:YES animate:YES];
+ [normalWindow setFrame:NSMakeRect([normalWindow frame].origin.x,
[normalWindow frame].origin.y - h + screen.height, w, h + [normalWindow
frame].size.height - screen.height) display:YES animate:NO];
}
screen.width = w;
screen.height = h;
--
1.6.5.3
- [Qemu-devel] [PATCH v2 RESEND 00/11] Cocoa: ppc64 host support and various improvements, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 01/11] Cocoa: ppc64 host support, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 02/11] Cocoa: Silence warning for cocoa_keycode_to_qemu, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 03/11] Cocoa: Silence warning on Big Endian host, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 04/11] Cocoa: Silence type warning, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 05/11] Cocoa: Fix compilation on Mac OS X v10.4 and earlier, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 06/11] Cocoa: Mark the View as opaque, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 07/11] Cocoa: Redraw the View asynchronously, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 08/11] Cocoa: Don't unconditionally show the window, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 09/11] Cocoa: Shutdown when window is closed, Andreas Färber, 2010/01/06
- [Qemu-devel] [PATCH v2 RESEND 10/11] Cocoa: Suppress window resize animation,
Andreas Färber <=
- [Qemu-devel] [PATCH v2 RESEND 11/11] Cocoa: Use optimized drawing for the window, Andreas Färber, 2010/01/06
- [Qemu-devel] Re: [PATCH v2 RESEND 08/11] Cocoa: Don't unconditionally show the window, Alexander Graf, 2010/01/06
- [Qemu-devel] Re: [PATCH v2 RESEND 08/11] Cocoa: Don't unconditionally show the window, Andreas Färber, 2010/01/06
- [Qemu-devel] Re: [PATCH v2 RESEND 08/11] Cocoa: Don't unconditionally show the window, Alexander Graf, 2010/01/06