зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1491512 - Allow rendering minimized windows on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D14567 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a2bda7b56d
Коммит
dc7bd74b05
|
@ -3403,7 +3403,8 @@ NSEvent* gLastDragMouseDownEvent = nil;
|
|||
|
||||
if (![self window] ||
|
||||
([[self window] isKindOfClass:[BaseWindow class]] &&
|
||||
![(BaseWindow*)[self window] isVisibleOrBeingShown])) {
|
||||
![(BaseWindow*)[self window] isVisibleOrBeingShown] &&
|
||||
![(BaseWindow*)[self window] isMiniaturized])) {
|
||||
// Before the window is shown, our GL context's front FBO is not
|
||||
// framebuffer complete, so we refuse to render.
|
||||
return false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче