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

@@ -74,7 +74,8 @@ bool CefBrowserPlatformDelegateNativeLinux::CreateHostWindow() {
// Create a new window object. It will delete itself when the associated X11
// window is destroyed.
window_x11_ = new CefWindowX11(browser_, window_info_.parent_window, rect);
window_x11_ = new CefWindowX11(browser_, window_info_.parent_window, rect,
CefString(&window_info_.window_name).ToString());
window_info_.window = window_x11_->xwindow();
host_window_created_ = true;