adobe/brackets-shell — pull request #144 by redmunds (2012-11-16 00:22:56+00:00)
Title: Ensure Brackets window is visible

This is a Windows-only change for https://github.com/adobe/brackets/issues/2032

In general, Brackets window should always be in view at start up.

Here are specific cases:

1. For Maximized window, in primary or secondary screens:
A. If screen resolution changes, window should be maximized to new size
B. If secondary screen moved or removed, should be maximized to primary (or other secondary) screen.

2. For non-maximized window, in primary or secondary screens:
A. If screen resolution changes, window should be sized and positioned to fit on new size
B. If secondary screen moved or removed, should be sized and positioned to primary (or other secondary) screen.
C. If window is positioned partially off screen, it will be sized and positioned on screen.