From 32e51e5537da447750a5444043dd7528db7ec120 Mon Sep 17 00:00:00 2001 From: nplourde Date: Mon, 1 Nov 2004 17:19:25 +0000 Subject: 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 --- libvo/vo_quartz.c | 14 ++++++++++---- 1 file 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) { -- cgit v1.2.3