зеркало из https://github.com/mozilla/gecko-dev.git
Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel
This commit is contained in:
Родитель
4d5c38d23e
Коммит
7eeb60855e
|
@ -558,6 +558,10 @@ nsWindow::SetSizeMode(PRInt32 aMode)
|
|||
widget->showMinimized();
|
||||
break;
|
||||
case nsSizeMode_Fullscreen:
|
||||
// Some versions of Qt (4.6.x) crash in XSetInputFocus due to
|
||||
// unsynchronized window activation. Sync here to avoid such
|
||||
// cases.
|
||||
XSync(QX11Info().display(), False);
|
||||
widget->showFullScreen();
|
||||
break;
|
||||
|
||||
|
@ -1932,6 +1936,10 @@ nsWindow::MakeFullScreen(PRBool aFullScreen)
|
|||
mLastSizeMode = mSizeMode;
|
||||
|
||||
mSizeMode = nsSizeMode_Fullscreen;
|
||||
// Some versions of Qt (4.6.x) crash in XSetInputFocus due to
|
||||
// unsynchronized window activation. Sync here to avoid such
|
||||
// cases.
|
||||
XSync(QX11Info().display(), False);
|
||||
widget->showFullScreen();
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче