Aha, I just found this in the docs for isMovable: A non-movable window will not 
be moved or resized by the system in response to a display reconfiguration. (I 
was looking for something about this in setIsMovable, which is where I expect 
key information like this to be mentioned, since that's the thing developers 
might be calling to set the behavior.)

So, looks like I need to handle screen resizes myself, along with restoring a 
window on a different screen than it was saved on. I don't see any 
notifications that look like NSWindowScreenSizeDidChange. Where would I catch 
these "window is moving because the screen changed size" messages? I tried 
adding a NSWindowDidChangeScreenNotification handler, which *does* get called 
when changing a screen's size, but the notification doesn't contain the old 
screen size, so I can't move it appropriately. Arg. There's no accompanying 
NSWindowWillChangeScreenNotification in which to store the old screen size.

I'm out of ideas for something that should be really simple.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to