[vlc-devel] [PATCH] qt: fix autoresize on windows

Steve Lhomme robux4 at gmail.com
Tue Nov 14 08:30:05 CET 2017


Works for me.

On Mon, Nov 13, 2017 at 5:25 PM, Pierre Lamot <pierre at videolabs.io> wrote:
> ---
>  modules/gui/qt/main_interface_win32.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/gui/qt/main_interface_win32.cpp b/modules/gui/qt/main_interface_win32.cpp
> index ffa46760e8..8e5f1b8c59 100644
> --- a/modules/gui/qt/main_interface_win32.cpp
> +++ b/modules/gui/qt/main_interface_win32.cpp
> @@ -383,8 +383,8 @@ void MainInterfaceWin32::resizeEvent(QResizeEvent *event)
>          return;
>
>      OffsetRect( &windowRect,
> -                monitorInfo.rcWork.left - monitorInfo.rcMonitor.left,
> -                monitorInfo.rcWork.top - monitorInfo.rcMonitor.top );
> +                monitorInfo.rcMonitor.left - monitorInfo.rcWork.left ,
> +                monitorInfo.rcMonitor.top - monitorInfo.rcWork.top );
>
>      b_isWindowTiled = ( EqualRect( &windowPlacement.rcNormalPosition, &windowRect ) == 0 );
>  }
> --
> 2.14.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list