mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Linux: cefclient: Fix crash when creating popup window (issue #1006)
This commit is contained in:
@@ -369,6 +369,7 @@ void RootWindowGtk::CreateRootWindow(const CefBrowserSettings& settings,
|
||||
|
||||
// Set the Display associated with the browser.
|
||||
::Display* xdisplay = GDK_WINDOW_XDISPLAY(gtk_widget_get_window(window_));
|
||||
CHECK(xdisplay);
|
||||
if (with_osr_) {
|
||||
static_cast<BrowserWindowOsrGtk*>(browser_window_.get())
|
||||
->set_xdisplay(xdisplay);
|
||||
|
Reference in New Issue
Block a user