Skip to content

mshtml: Implement visibilitychange event.

Gabriel Ivăncescu requested to merge insn/wine:visibilitychange into master

Since EVENT_SYSTEM_MINIMIZESTART and EVENT_SYSTEM_MINIMIZEEND are implemented now (thanks to Esme), this is implementing visibility change events using them. We have to keep track of the browsers to iterate all the documents from the hook.

Note that I tried to refcount the per-thread hook and add it only when necessary (on a visiblity change listener), since it can slow down the entire prefix.

Merge request reports

Loading