mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 10:55:43 +00:00
restore window shadow when quitting fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16082 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
df8fcb57e5
commit
e14d9ede2e
@ -726,7 +726,7 @@ static uint32_t control(uint32_t request, void *data, ...)
|
||||
//revert window to previous setting
|
||||
[self setFrame:old_view_frame];
|
||||
[self setNeedsDisplay:YES];
|
||||
[window setHasShadow:NO];
|
||||
[window setHasShadow:YES];
|
||||
[window setFrame:old_frame display:YES animate:animate];//zoom-out window with nice useless sfx
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user