vlc | branch: master | Felix Paul Kühne <[email protected]> | Sat Jul 1 15:06:24 2017 +0200| [03e2e6382876a775c0bb31285b38ce3144de8102] | committer: Felix Paul Kühne
macosx: make the vout window mouse-moveable again (closes #18263) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03e2e6382876a775c0bb31285b38ce3144de8102 --- modules/gui/macosx/VLCVoutView.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/VLCVoutView.m b/modules/gui/macosx/VLCVoutView.m index 843bc919da..2c40cdf4ce 100644 --- a/modules/gui/macosx/VLCVoutView.m +++ b/modules/gui/macosx/VLCVoutView.m @@ -334,7 +334,12 @@ - (BOOL)mouseDownCanMoveWindow { - return NO; + if (p_vout) { + bool b_vrnav_can_change = var_GetBool(p_vout, "viewpoint-changeable"); + return !b_vrnav_can_change; + } + + return YES; } - (BOOL)acceptsFirstResponder _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
