[vlc-devel] [PATCH 1/3] macosx: reenable audio items on osd

Jean-Baptiste Kempf jb at videolan.org
Mon Jan 30 21:09:10 CET 2012


On Mon, Jan 30, 2012 at 09:00:33PM +0100, David Fuhrmann wrote :
> 
> Am 30.01.2012 um 20:42 schrieb Jean-Baptiste Kempf:
> 
> > On Mon, Jan 30, 2012 at 08:39:31PM +0100, David Fuhrmann wrote :
> >> My intention was to ask if this could possibly ok for you, before I implement something.
> >> (See your first mail in this thread.)
> > 
> > I am sorry, I don't know what you mean by 'this'.
> 
> My idea was to intercept the (main menu) key events before they trigger the appropriate menu action (which would call the respective functions in coreinteraction.m). Then we can use  "var_SetInteger( VLCIntf->p_libvlc, "key-action", ACTIONID_VOL_* );" only for these key events and not for all other events (especially clicks on the menu or controls).

No, using key-action is wrong.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list