NSApplicationDidChangeScreenParametersNotification Returns a stale value for [NSScreen visibleFrame] after the dock moves from one screen to another (on Snow Leopard at least). Solution: wait a second or so, then ask again.
This notification is also sent when the screen arrangement or dock is reconfigured. I find this useful. Paul Sanders. ----- Original Message ----- From: "Jacob Schwartz" <[email protected]> To: <[email protected]> Sent: Tuesday, December 29, 2009 6:15 PM Subject: Notification when displays are detected? Hey all, After some searching through the API, which apparently I am not good at, I figured asking was easier. Does anyone know of a notification that gets posted when another screen is added/detected. I figured it would be in NSWorkspace but I didn't see anything. Thanks. -Jake Schwartz _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
