[vlc-devel] Where I can disable the mouse events for the MACOSX plugin
YairH at optibase.com
Thu Dec 31 12:07:39 CET 2009
Thank you for the response.
I am using the "macosx" (not the minimal one) module. The voutgl.m is actually handles the mouse events (as you said line 961) but when I disable the entire case of kEventClassMouse I still can go into fullscreen using the (mouse left) double click. It seems that the double click event (for enter fullscreen) is never gets to the WindowEventHandler method it just handled elsewhere.
Moreover, as it seems that the vout.m file is not participating in the mouse events at all I added debug prints to (void)mouseDown:(NSEvent *)o_event (line 520) and even disabled the fullscreen toggle and the VLC still catches the double click event and enter to the fullscreen mode.
BTW, it doesn't leave the fullscreen because I disabled the kEventClassMouse in the voutgl.m file.
I know it sounds improbable but the enter fullscreen double click is been catch and execute in a different module then the double click on leave fullscreen.
Is it something you recognize?
EZTV Client Team Leader
yairh at optibase.com
From: vlc-devel-bounces at videolan.org [mailto:vlc-devel-bounces at videolan.org] On Behalf Of Felix Paul K?hne
Sent: Wednesday, December 30, 2009 11:54 PM
To: Mailing list for VLC media player developers
Subject: Re: [vlc-devel] Where I can disable the mouse events for the MACOSX plugin
On 30.12.2009, at 20:31, Yair Han wrote:
> Where should I look for mouse (left) double click event for the MAC OSX
This depends on the macosx module you're using.
In "minimal_macosx", it is handled in voutagl.m line 472 ff.
In "macosx", it's voutgl.m line 961 ff. This module additionally handles vout click events for the ordinary interface plugin in vout.m (line 520 ff.)
Hope this helps.
Felix Paul Kühne
Co-Developer of VLC's Mac OS X port
vlc-devel mailing list
To unsubscribe or modify your subscription options:
More information about the vlc-devel