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

Unified Diff: chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc

Issue 12223114: Fix bug 175858: [Linux] The panel does not accept keyboard input when it is minimized and expanded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « chrome/browser/ui/gtk/panels/panel_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc
diff --git a/chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc b/chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc
index 9456fc6b235a29076119bcc1fdfcd562510edff4..dad80562be3fca9a05dd694b46635d05dbf5f512 100644
--- a/chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc
+++ b/chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc
@@ -266,6 +266,7 @@ void PanelTitlebarGtk::OnButtonClicked(GtkWidget* button) {
panel->OnRestoreButtonClicked(
(event->button.state & GDK_CONTROL_MASK) ?
panel::APPLY_TO_ALL : panel::NO_MODIFIER);
+ panel->Activate();
}
gdk_event_free(event);
« no previous file with comments | « chrome/browser/ui/gtk/panels/panel_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698