[vlc-commits] macosx: Do not set movableByBackground on FS panel

David Fuhrmann git at videolan.org
Sun Jan 29 22:49:23 CET 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jan 29 22:47:34 2017 +0100| [4385af85759c8cbbd27388dd36db7ca0f7422d59] | committer: David Fuhrmann

macosx: Do not set movableByBackground on FS panel

FS panel is moved by your custom code, so this flag should not
be set.

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

 modules/gui/macosx/VLCFSPanelController.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m
index a2e5c98..0994ea0 100644
--- a/modules/gui/macosx/VLCFSPanelController.m
+++ b/modules/gui/macosx/VLCFSPanelController.m
@@ -58,7 +58,7 @@
     /* Do some window setup that is not possible in IB */
     [self.window setOpaque:NO];
     [self.window setAlphaValue:0.0f];
-    [self.window setMovableByWindowBackground:YES];
+    [self.window setMovableByWindowBackground:NO];
     [self.window setLevel:NSModalPanelWindowLevel];
     [self.window setStyleMask:self.window.styleMask | NSResizableWindowMask];
     [self.window setBackgroundColor:[NSColor clearColor]];



More information about the vlc-commits mailing list