screenshots icon indicating copy to clipboard operation
screenshots copied to clipboard

[help wanted] Window.all() 能返回当前窗口的 occlusionState 吗?

Open SuperShan0926 opened this issue 7 months ago • 0 comments

electron 里通过 onVisiblityChange 回调并不准,我试了用云音乐这样的 app 盖住窗口也不能触发 visibilityState 为 hidden,这里通过rust有办法拿到窗口的 occlusionState 信息的话,应该比较容易实现了

https://developer.apple.com/documentation/appkit/nswindow/1419321-occlusionstate

SuperShan0926 avatar Jul 30 '24 02:07 SuperShan0926