[vlc-devel] [RFC] JS and libvlc mouse events
Rémi Denis-Courmont
remi at remlab.net
Mon Jan 25 16:08:12 CET 2010
On Mon, 25 Jan 2010 15:25:44 +0100, Jean-Paul Saman <jpsaman at gmail.com>
wrote:
>> That said, I find the whole concept to be questionable. If you want to
>> handle mouse events, set --no-mouse-events and let the windowing system
>> send them to your parent window. As such, I fail to see why LibVLC would
>> need to reinvent the wheel.
>
> The caller needs to know where exactly a logo picture is located
> inside VLC video output window. Therefor the mouse coordinates in VLC
> video output should be obtained and returned to the event listener
> which happen to be a JS callback function. The position of the mouse
> against the desktop or browser window is irrelevant for this usage.
Ok, --no-mouse-events is irrelevant then.
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list