[PR #370] [MERGED] Fix display names on M1 Macs #1091

Closed
opened 2026-05-05 07:04:26 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MonitorControl/MonitorControl/pull/370
Author: @LinusU
Created: 1/12/2021
Status: Merged
Merged: 7/6/2021
Merged by: @JoniVR

Base: masterHead: screen-name


📝 Commits (1)

  • 33b82a6 Fix display names on M1 Macs

📊 Changes

1 file changed (+6 additions, -1 deletions)

View changed files

📝 MonitorControl/AppDelegate.swift (+6 -1)

📄 Description

Starting with Catalina there is a localizedName property that can be used to get the name of the display. The old way doesn't work at all on the new M1 based Macs, so this also fixes the name on those computers.

Note that this doesn't give us compatibility with M1 Macs, it's just one small step in that direction.

related: #323


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MonitorControl/MonitorControl/pull/370 **Author:** [@LinusU](https://github.com/LinusU) **Created:** 1/12/2021 **Status:** ✅ Merged **Merged:** 7/6/2021 **Merged by:** [@JoniVR](https://github.com/JoniVR) **Base:** `master` ← **Head:** `screen-name` --- ### 📝 Commits (1) - [`33b82a6`](https://github.com/MonitorControl/MonitorControl/commit/33b82a61677c0308cfbd4654c145fcaa82cd5e43) Fix display names on M1 Macs ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `MonitorControl/AppDelegate.swift` (+6 -1) </details> ### 📄 Description Starting with Catalina there is a `localizedName` property that can be used to get the name of the display. The old way doesn't work at all on the new M1 based Macs, so this also fixes the name on those computers. Note that this doesn't give us compatibility with M1 Macs, it's just one small step in that direction. related: #323 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 07:04:26 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#1091
No description provided.