vlc | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Sat Sep 17 21:27:46 2016 +0200| [64a447df3f02f2e5628498ff2c01116174cd042f] | committer: David Fuhrmann
macosx: Fix compilation with older SDKs > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64a447df3f02f2e5628498ff2c01116174cd042f --- modules/gui/macosx/VLCVoutView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/macosx/VLCVoutView.m b/modules/gui/macosx/VLCVoutView.m index ef8d33d..c36b411 100644 --- a/modules/gui/macosx/VLCVoutView.m +++ b/modules/gui/macosx/VLCVoutView.m @@ -255,7 +255,7 @@ // A mouse scroll wheel has lower sensitivity. We want to scroll at least // with every event here. - BOOL isMouseScrollWheel = ([theEvent subtype] == NSEventSubtypeMouseEvent); + BOOL isMouseScrollWheel = ([theEvent subtype] == NSMouseEventSubtype); if (isMouseScrollWheel && f_deltaYAbs < f_yThreshold) f_deltaY = f_deltaY > 0. ? f_yThreshold : -f_yThreshold; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits