Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #38 from hmin/title
Browse files Browse the repository at this point in the history
Fix 2 title related issues in aura port
  • Loading branch information
Kenneth Rohde Christiansen committed Jul 18, 2013
2 parents 8f76bc9 + b38d5f9 commit 4a31ab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ void DesktopNativeWidgetAura::GetWindowPlacement(
}

void DesktopNativeWidgetAura::SetWindowTitle(const string16& title) {
window_->set_title(title);
desktop_root_window_host_->SetWindowTitle(title);
}

Expand Down
3 changes: 2 additions & 1 deletion ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@ void DesktopRootWindowHostX11::SetAlwaysOnTop(bool always_on_top) {
}

void DesktopRootWindowHostX11::SetWindowTitle(const string16& title) {
XStoreName(xdisplay_, xwindow_, UTF16ToUTF8(title).c_str());
XmbSetWMProperties(xdisplay_, xwindow_, UTF16ToUTF8(title).c_str(), NULL,
NULL, 0, NULL, NULL, NULL);
}

void DesktopRootWindowHostX11::ClearNativeFocus() {
Expand Down

0 comments on commit 4a31ab3

Please sign in to comment.