mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 17:37:23 +00:00
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)
|
if(winLevel != 0)
|
||||||
{
|
{
|
||||||
HideMenuBar();
|
if(device_id == 0)
|
||||||
HideCursor();
|
{
|
||||||
|
HideMenuBar();
|
||||||
|
HideCursor();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1258,8 +1261,11 @@ void window_fullscreen()
|
|||||||
{
|
{
|
||||||
if(winLevel != 0)
|
if(winLevel != 0)
|
||||||
{
|
{
|
||||||
HideMenuBar();
|
if(device_id == 0)
|
||||||
HideCursor();
|
{
|
||||||
|
HideMenuBar();
|
||||||
|
HideCursor();
|
||||||
|
}
|
||||||
|
|
||||||
if(fs_res_x != 0 || fs_res_y != 0)
|
if(fs_res_x != 0 || fs_res_y != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user