1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-19 18:05:21 +00:00
mpv/osdep/macos
der richter a54cc02341 mac: change display name retrieval to localizedName NSScreen property
the old displayName property via the IODisplay API is not working
anymore on ARM based macs and was broken in at least one other case.

instead we use the new localizedName property introduced in 10.15 of the
NSScreen. we don't need any backwards compatibility since 10.15 is the
oldest version we support now.

configs and scripts that use the options and properties fs-screen-name,
screen-name or display-names need to be adjusted since the names could
differ from the previous implementation via the IODisplay API.

Fixes #9697
2023-11-10 14:30:32 +01:00
..
libmpv_helper.swift various: fix typos 2022-04-25 09:07:18 -04:00
log_helper.swift cocoa-cb: generalisation of backend independent parts 2020-08-22 14:22:49 +02:00
mpv_helper.swift options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
precise_timer.swift vo_gpu/vo_gpu_next: add vulkan support for macOS 2023-10-14 18:39:56 +02:00
remote_command_center.swift mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
swift_compat.swift mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
swift_extensions.swift mac: change display name retrieval to localizedName NSScreen property 2023-11-10 14:30:32 +01:00