vlc | branch: master | David Fuhrmann <[email protected]> | 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]];

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to