Skip to content

Avoid DeskPad window ending up on the DeskPad desktop #52

Description

@kirb

Hi! This is a really excellent tool, thanks for building it and open sourcing!

In adjusting my display layouts to my liking, I got myself in trouble because macOS decided to move a bunch of windows, including DeskPad itself, onto the DeskPad display! Fortunately, I was able to get out of it thanks to Raycast’s “next display” shortcut (or I could have VNC’d in), but I’m sure most users won’t have either option available.

Is it possible the window could look at the NSScreen it’s on, and if it’s DeskPad Display, it moves itself back to the primary monitor? It could be listened for with -[NSWindowDelegate windowDidChangeScreen:]. or NSWindowDidChangeScreenNotification.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions