зеркало из https://github.com/mozilla/gecko-dev.git
973287f3eb
When we open a new window on top of a fullscreen window, we deliberately make that window "normal" (non-fullscreen, non-maximized), which was documented as having been "a standard [W]indows convention" [1]. Chromium does the same (with fiddly differences involving the window size). Unfortunately, we do this by checking if there are _any_ fullscreen windows open -- which produces false positives on multimonitor or multi-virtual-desktop setups. Therefore, adjust the code to match the original comment, and only take the parent window into account. This seems likely to better match user expectations. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=575195#c5 Differential Revision: https://phabricator.services.mozilla.com/D197823 |
||
---|---|---|
.. | ||
test | ||
AppWindow.cpp | ||
AppWindow.h | ||
LiveResizeListener.h | ||
components.conf | ||
moz.build | ||
nsAppShellCID.h | ||
nsAppShellService.cpp | ||
nsAppShellService.h | ||
nsAppShellWindowEnumerator.cpp | ||
nsAppShellWindowEnumerator.h | ||
nsChromeTreeOwner.cpp | ||
nsChromeTreeOwner.h | ||
nsContentTreeOwner.cpp | ||
nsContentTreeOwner.h | ||
nsIAppShellService.idl | ||
nsIAppWindow.idl | ||
nsIWindowMediator.idl | ||
nsIWindowMediatorListener.idl | ||
nsIWindowlessBrowser.idl | ||
nsIXULBrowserWindow.idl | ||
nsWindowMediator.cpp | ||
nsWindowMediator.h |