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

Tobias Güntner fatbull at web.de
Sat Jan 28 20:56:33 CET 2012


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.

Regards,
Tobias




More information about the vlc-devel mailing list