On Tue, Sep 3, 2013, at 01:50 PM, Steve Mills wrote: > On Sep 3, 2013, at 15:34:25, Lee Ann Rucker <lruc...@vmware.com> wrote: > > > NSApplicationDidChangeScreenParametersNotification > > > > It doesn't have userInfo, so you'll still have to save the last known > > screen bounds yourself. > > Hmm. This seems no different than the NSWindowDidChangeScreenNotification > other than it's app-centric rather than affecting each actual window. Not > all that helpful really. > > How does Apple do it? They obviously have to move the windows to keep > them relative to the top of the screen, to deal with the dopey bottom-up > coordinate system they went with.
They probably listen for that notification, then compare the size of the -screen of the window they're trying to position to its previously known size. --Kyle Sluder _______________________________________________ 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