History

w32_common: support the "window-minimized" property

James Ross-Gowan committed 11 years ago

Commit a26ea501 parent 3efbc1a2 files · +6 −2Browse files

Showing the changes to TOOLS/lua/pause-when-minimize.lua (1 of 2 files). Show all

Unified · Split

TOOLS/lua/pause-when-minimize.lua+0−2
@@ -2,8 +2,6 @@ · 1 unmodified line
22 -- if it's brought back again. If the player was already paused when minimizing,
33 -- then try not to mess with the pause state.
44
5−-- Note: currently works with X11 or OS X only.
6−
75 local did_minimize = false
86
97 mp.observe_property("window-minimized", "bool", function(name, value)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t