diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-26 08:45:43 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-26 08:45:43 +0000 |
commit | d7a6430c303bae7b8dc4b71f4999f9244ce91c61 (patch) | |
tree | 8fd39f959087ba78a2fa4f466e7483bf932f7095 /Gui/mplayer/mw.c | |
parent | 01ab34d04af5aadb0be949a196d25142b6adb692 (diff) |
From: Ben Low <ben@bdlow.net>
[PATCH] xineramascreen for gmplayer (the right way)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10195 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/mw.c')
-rw-r--r-- | Gui/mplayer/mw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c index a3b4ddce93..b1fec53154 100644 --- a/Gui/mplayer/mw.c +++ b/Gui/mplayer/mw.c @@ -282,8 +282,8 @@ set_volume: if ( guiIntfStruct.Playing ) { appMPlayer.subWindow.isFullScreen=True; - appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth * 2 ) / 2; - appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight * 2 ) / 2; + appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth * 2 ) / 2 + wsOrgX; + appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight * 2 ) / 2 + wsOrgY; appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth * 2; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight * 2; wsFullScreen( &appMPlayer.subWindow ); vo_fs=0; @@ -294,8 +294,8 @@ set_volume: if ( guiIntfStruct.Playing ) { appMPlayer.subWindow.isFullScreen=True; - appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth ) / 2; - appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight ) / 2; + appMPlayer.subWindow.OldX=( wsMaxX - guiIntfStruct.MovieWidth ) / 2 + wsOrgX; + appMPlayer.subWindow.OldY=( wsMaxY - guiIntfStruct.MovieHeight ) / 2 + wsOrgY; appMPlayer.subWindow.OldWidth=guiIntfStruct.MovieWidth; appMPlayer.subWindow.OldHeight=guiIntfStruct.MovieHeight; wsFullScreen( &appMPlayer.subWindow ); vo_fs=0; |