[vlc-devel] [PATCH] Constrain Qt interface to desktop size on video resize

Jean-Baptiste Kempf jb at videolan.org
Thu Feb 7 17:30:08 CET 2013

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.

> +    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.

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