summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-01 17:19:25 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-01 17:19:25 +0000
commit32e51e5537da447750a5444043dd7528db7ec120 (patch)
tree9b40a7639f94ba35f942a45bb6ea8363f4626cb6 /libvo
parent6ff66b7dbb462ee02aa1fe9ba8341ea73da098f0 (diff)
downloadmpv-32e51e5537da447750a5444043dd7528db7ec120.tar.bz2
mpv-32e51e5537da447750a5444043dd7528db7ec120.tar.xz
do not hide mouse and menubar in fulscreen if not using main device
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13842 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_quartz.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index 3c5694c471..e7a26ebe94 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -1235,8 +1235,11 @@ void window_ontop()
{
if(winLevel != 0)
{
- HideMenuBar();
- HideCursor();
+ if(device_id == 0)
+ {
+ HideMenuBar();
+ HideCursor();
+ }
}
else
{
@@ -1258,8 +1261,11 @@ void window_fullscreen()
{
if(winLevel != 0)
{
- HideMenuBar();
- HideCursor();
+ if(device_id == 0)
+ {
+ HideMenuBar();
+ HideCursor();
+ }
if(fs_res_x != 0 || fs_res_y != 0)
{