mirror of
https://github.com/mpv-player/mpv
synced 2025-03-01 20:00:37 +00:00
parent
48a463d641
commit
731804a27e
@ -420,7 +420,8 @@ class CocoaCB: NSObject {
|
||||
return VO_TRUE
|
||||
case VOCTRL_GET_WIN_STATE:
|
||||
let minimized = data!.assumingMemoryBound(to: Int32.self)
|
||||
minimized.pointee = ccb.window.isMiniaturized ? VO_WIN_STATE_MINIMIZED : Int32(0)
|
||||
minimized.pointee = ccb.window?.isMiniaturized ?? false ?
|
||||
VO_WIN_STATE_MINIMIZED : Int32(0)
|
||||
return VO_TRUE
|
||||
case VOCTRL_GET_DISPLAY_NAMES:
|
||||
let opts: mp_vo_opts = vo!.pointee.opts!.pointee
|
||||
|
Loading…
Reference in New Issue
Block a user