Linux: Add support for setting the initial window title (issue #2204).

This commit is contained in:
Branko Čibej
2019-02-27 19:18:16 +00:00
committed by Marshall Greenblatt
parent 658bf2834a
commit 34db87563e
6 changed files with 33 additions and 5 deletions

View File

@@ -167,7 +167,7 @@ XCursorCache* cursor_cache = nullptr;
void CefRenderWidgetHostViewOSR::PlatformCreateCompositorWidget(
bool is_guest_view_hack) {
// Create a hidden 1x1 window. It will delete itself on close.
window_ = new CefWindowX11(NULL, None, gfx::Rect(0, 0, 1, 1));
window_ = new CefWindowX11(NULL, None, gfx::Rect(0, 0, 1, 1), "");
compositor_widget_ = window_->xwindow();
}