[MPlayer-cvslog] r34085 - trunk/gui/ui/main.c
ib
subversion at mplayerhq.hu
Thu Sep 8 16:00:12 CEST 2011
Author: ib
Date: Thu Sep 8 16:00:12 2011
New Revision: 34085
Log:
Preserve x and y position of a half-size window.
Don't change position in an evHalfSize event.
Modified:
trunk/gui/ui/main.c
Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c Thu Sep 8 15:42:53 2011 (r34084)
+++ trunk/gui/ui/main.c Thu Sep 8 16:00:12 2011 (r34085)
@@ -338,9 +338,7 @@ set_volume:
uiFullScreen();
}
wsResizeWindow( &guiApp.subWindow, guiInfo.VideoWidth / 2, guiInfo.VideoHeight / 2 );
- wsMoveWindow( &guiApp.subWindow, True,
- ( wsMaxX - guiInfo.VideoWidth/2 )/2 + wsOrgX,
- ( wsMaxY - guiInfo.VideoHeight/2 )/2 + wsOrgY );
+ wsMoveWindow( &guiApp.subWindow, False, guiApp.sub.x, guiApp.sub.y );
btnSet( evFullScreen,btnReleased );
}
break;
More information about the MPlayer-cvslog
mailing list