NSBorderlessWindowMask and Leopard's Spaces

  • In my application, I am using a custom window based on
    NSBorderlessWindowMask. You can drag the titlebar to move it around.
    How do I make this play nice with Spaces?

    Dragging to the edge of the screen should switch space after a short
    delay, and holding the titlebar while switching space should bring the
    window with it.

    I really don't know where to start on this. The release notes don't
    seem to cover this.
  • On Jan 4, 2009, at 5:18 AM, Benjamin Dobson wrote:

    > In my application, I am using a custom window based on
    > NSBorderlessWindowMask. You can drag the titlebar to move it around.
    > How do I make this play nice with Spaces?
    >
    > Dragging to the edge of the screen should switch space after a short
    > delay, and holding the titlebar while switching space should bring
    > the window with it.
    >
    > I really don't know where to start on this. The release notes don't
    > seem to cover this.

    Unfortunately there's no current API to allow your window dragging to
    interact with Spaces.

    -eric