[vlc-devel] commit: macosx: Fix a window frame glitch when zooming the embedded window. . (Pierre d'Herbemont )

git version control git at videolan.org
Fri Aug 15 14:22:11 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Aug 15 14:25:08 2008 +0200| [2058e59d1cc6e2fbc902f46886e3a6c9490f3e52] | committer: Pierre d'Herbemont 

macosx: Fix a window frame glitch when zooming the embedded window..

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2058e59d1cc6e2fbc902f46886e3a6c9490f3e52
---

 modules/gui/macosx/embeddedwindow.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/embeddedwindow.m b/modules/gui/macosx/embeddedwindow.m
index 03b2aa0..1ecea7f 100644
--- a/modules/gui/macosx/embeddedwindow.m
+++ b/modules/gui/macosx/embeddedwindow.m
@@ -152,7 +152,7 @@
 - (BOOL)windowShouldZoom:(NSWindow *)sender toFrame:(NSRect)newFrame
 {
     [self setFrame: newFrame display: YES animate: YES];
-    return YES;
+    return NO;
 }
 
 - (BOOL)windowShouldClose:(id)sender




More information about the vlc-devel mailing list