зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug #57046. Flush the X connection before returning the xid of the plugin port window. This is part of the fix to get the java plugin working on linux again. r=akkana a=brendan
This commit is contained in:
Родитель
6d635df17c
Коммит
9ba67a72d6
|
@ -1940,6 +1940,10 @@ void * nsWindow::GetNativeData(PRUint32 aDataType)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// we have to flush the X queue here so that any plugins that
|
||||||
|
// might be running on seperate X connections will be able to use
|
||||||
|
// this window in case it was just created
|
||||||
|
XSync(GDK_DISPLAY(), False);
|
||||||
return (void *)GDK_WINDOW_XWINDOW(mSuperWin->bin_window);
|
return (void *)GDK_WINDOW_XWINDOW(mSuperWin->bin_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче