[vlc-devel] [PATCH] - issue with mouse-x/mouse-y on Linux

brezhoneg1 brezhoneg1 at yahoo.fr
Wed Feb 11 17:34:33 CET 2009


In xcommon.c and sdl.c, mouse-x and mouse-y lower/upper limits are
wrongly computed.
Lower limits set to zero may be considered a convention, but upper limit
is short of an x or y offset.

Only xcommon.c and sdl.c have got this problem. The other vout modules
just don't set limits at all. (Actually, that may be the best solution).

This problem can be met, for example, when using the logo vout-filter
and setting crop to a non-default value. The logo cannot be moved with
the mouse to the upper boundaries by a x or y offset value.

Erwan10

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-corrects-a-bug-when-computing-boundaries-for-mouse-x.patch
Type: application/octet-stream
Size: 1641 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090211/1889e47a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-mouse-x-and-mouse-y-wrong-boundary-calculation.patch
Type: application/octet-stream
Size: 1561 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090211/1889e47a/attachment-0001.obj>


More information about the vlc-devel mailing list