mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
6ff66b7dbb
commit
32e51e5537
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue