[vlc-devel] [PATCH] Constrain Qt interface to desktop size on video resize
Mario Speiß
1034-135 at online.de
Fri Feb 8 10:40:12 CET 2013
On 07.02.2013 17:30, Jean-Baptiste Kempf wrote:
> On 06 Jan, Mario Speiß wrote :
>> No moving of the VLC is done, only the w/h for resizeStack are validated.
>
> I disagree on the behaviour.
> It should move and re-center, if possible.
I do not think that also moving is a good idea. Imagine you moved VLC to
the lower right corner of your desktop because you are working on
something else on the left side of your desktop. Eventually VLC would
get in your way if moving was added. If that really is desireable, this
might be added with another option.
>
>> + add_bool( "qt-constrain-to-screen", true, QT_CONSTRAIN_TO_SCREEN_TEXT,
>> + QT_CONSTRAIN_TO_SCREEN_LONGTEXT, false )
>
> Yes, this should default to true.
>
> The code is more or less correct, and this is a great idea.
I use it quite some time now ;-)
>
> Best regards,
>
Regards,
Mario
More information about the vlc-devel
mailing list