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/menu.c | |
parent | 01ab34d04af5aadb0be949a196d25142b6adb692 (diff) | |
download | mpv-d7a6430c303bae7b8dc4b71f4999f9244ce91c61.tar.bz2 mpv-d7a6430c303bae7b8dc4b71f4999f9244ce91c61.tar.xz |
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/menu.c')
-rw-r--r-- | Gui/mplayer/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/mplayer/menu.c b/Gui/mplayer/menu.c index f0d72176bf..513746c19d 100644 --- a/Gui/mplayer/menu.c +++ b/Gui/mplayer/menu.c @@ -82,9 +82,9 @@ void mplShowMenu( int mx,int my ) if ( !appMPlayer.menuIsPresent || !appMPlayer.menuBase.Bitmap.Image ) return; x=mx; - if ( x + appMPlayer.menuWindow.Width > wsMaxX ) x=wsMaxX - appMPlayer.menuWindow.Width - 1; + if ( x + appMPlayer.menuWindow.Width > wsMaxX ) x=wsMaxX - appMPlayer.menuWindow.Width - 1 + wsOrgX; y=my; - if ( y + appMPlayer.menuWindow.Height > wsMaxY ) y=wsMaxY - appMPlayer.menuWindow.Height - 1; + if ( y + appMPlayer.menuWindow.Height > wsMaxY ) y=wsMaxY - appMPlayer.menuWindow.Height - 1 + wsOrgY; mplMenuX=x; mplMenuY=y; |