[vlc-devel] [PATCH] Keep tooltip within screen boundaries

Jean-Baptiste Kempf jb at videolan.org
Wed Feb 1 22:21:14 CET 2012


On Wed, Feb 01, 2012 at 02:09:00PM +0100, Tobias Güntner wrote :
> Am 28.01.2012 20:56, schrieb Tobias Güntner:
> >Am 28.01.2012 19:46, schrieb Jean-Baptiste Kempf:
> >>On Fri, Jan 27, 2012 at 02:19:39AM +0100, Tobias Güntner wrote :
> >>>Tooltips are usually centered around the mouse cursor. This is a
> >>>problem if the cursor is near a screen border because parts of the
> >>>tooltip will be cropped. Patch attached.
> >>
> >>Well, I am concerned about the amount of code to do it.
> >
> >I had to restructure parts of the code to ensure that the path and mask
> >are updated properly since the position of the tip (i.e., the little
> >bump below the label) is no longer fixed.
> 
> ping

pong and applied.

Best regards,

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



More information about the vlc-devel mailing list