Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2693)

Unified Diff: chrome/browser/gtk/browser_titlebar.cc

Issue 218040: Linux: work around browser windows that get stuck maximized by the WM. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_titlebar.cc
===================================================================
--- chrome/browser/gtk/browser_titlebar.cc (revision 27114)
+++ chrome/browser/gtk/browser_titlebar.cc (working copy)
@@ -469,7 +469,7 @@
if (titlebar->close_button_->widget() == button) {
titlebar->browser_window_->Close();
} else if (titlebar->restore_button_->widget() == button) {
- gtk_window_unmaximize(titlebar->window_);
+ titlebar->browser_window_->UnMaximize();
} else if (titlebar->maximize_button_->widget() == button) {
gtk_window_maximize(titlebar->window_);
} else if (titlebar->minimize_button_->widget() == button) {
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698