[vlc-commits] macosx: try to fix another instances of wrong occurrence for fspanel

David Fuhrmann git at videolan.org
Fri Feb 15 20:23:48 CET 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Feb 15 18:38:18 2013 +0100| [6c1ae0ff61f8854409badd44cbc3f2be2b537c2b] | committer: David Fuhrmann

macosx: try to fix another instances of wrong occurrence for fspanel

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

 modules/gui/macosx/Windows.m |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index ae63250..dfbeb81 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -594,6 +594,13 @@
         [[[VLCMainWindow sharedInstance] fsPanel] setNonActive:nil];
 }
 
+- (void)resignKeyWindow
+{
+    [super resignKeyWindow];
+
+    [[[VLCMainWindow sharedInstance] fsPanel] setNonActive:nil];
+}
+
 - (void)windowWillEnterFullScreen:(NSNotification *)notification
 {
     // workaround, see #6668



More information about the vlc-commits mailing list