Commit 73dfee41 authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf

qt: fix autoresize on windows

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent a6a805f1
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment