Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azayaka only updates monitor count on startup #15

Closed
lihaoyun6 opened this issue Apr 14, 2024 · 1 comment
Closed

Azayaka only updates monitor count on startup #15

lihaoyun6 opened this issue Apr 14, 2024 · 1 comment

Comments

@lihaoyun6
Copy link

I have an iPad as a sidecar display, and Azayaka can correctly identify it.
But when I disconnected the iPad from the Mac, Azayaka still showed two displays in menu.

I saw the following code in Menu.swift:

func menuWillOpen(_ menu: NSMenu) {
    if streamType == nil { // not recording
     -> updateAvailableContent(buildMenu: false)
        updateMenu()
    }
}

Why not use updateAvailableContent(buildMenu: true)?

@Mnpn
Copy link
Owner

Mnpn commented Apr 15, 2024

Hi! Following up on the conversation in #14 - this should be fixed as of 9780acf by observing display device changes. Thanks!

@Mnpn Mnpn closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants