[vlc-devel] commit: libvlc_video_get_cursor: get the current mouse video coordinates ( Rémi Denis-Courmont )
Rémi Denis-Courmont
remi at remlab.net
Thu Feb 11 17:35:36 CET 2010
Le jeudi 11 février 2010 18:27:32 git version control, vous avez écrit :
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb 11
> 18:26:54 2010 +0200| [e22624799da7c67a3cfa6ab366927d2ddc985a01] |
> committer: Rémi Denis-Courmont
>
> libvlc_video_get_cursor: get the current mouse video coordinates
Is anyone against replacing mouse-x and mouse-y with a single variable? We can
either use an integer (y << 16 | x) or a time value (y << 32 | x) depending on
the max resolutions we want to support.
Currently, there is a race condition between setting and getting the two
coordinates... and this can yield totally incorrect values - with one new and
one old coordinate.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list