w32_common: support the "window-minimized" property

This commit is contained in:
James Ross-Gowan
2015-03-09 20:30:33 +11:00
committed by wm4
parent 3efbc1a9a3
commit a26ea50694
2 changed files with 6 additions and 2 deletions

View File

@@ -2,8 +2,6 @@
-- if it's brought back again. If the player was already paused when minimizing,
-- then try not to mess with the pause state.
-- Note: currently works with X11 or OS X only.
local did_minimize = false
mp.observe_property("window-minimized", "bool", function(name, value)