[MPlayer-cvslog] r34036 - trunk/gui/ui/main.c
ib
subversion at mplayerhq.hu
Thu Sep 1 19:31:46 CEST 2011
Author: ib
Date: Thu Sep 1 19:31:46 2011
New Revision: 34036
Log:
Change repositioning of the normal size video window.
Move the window to the x and y "skin position", i.e. back to where it came from
rather than recalculating x and y from the current video window size.
This prevents unwanted window position changes.
Modified:
trunk/gui/ui/main.c
Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c Thu Sep 1 19:27:44 2011 (r34035)
+++ trunk/gui/ui/main.c Thu Sep 1 19:31:46 2011 (r34036)
@@ -366,9 +366,7 @@ set_volume:
uiFullScreen();
}
wsResizeWindow( &guiApp.subWindow, guiInfo.VideoWidth, guiInfo.VideoHeight );
- wsMoveWindow( &guiApp.subWindow, False,
- ( wsMaxX - guiInfo.VideoWidth )/2 + wsOrgX,
- ( wsMaxY - guiInfo.VideoHeight )/2 + wsOrgY );
+ wsMoveWindow( &guiApp.subWindow, True, guiApp.sub.x, guiApp.sub.y );
btnSet( evFullScreen,btnReleased );
break;
} else if ( !guiApp.subWindow.isFullScreen ) break;
More information about the MPlayer-cvslog
mailing list