Comment #12 on issue 15430 by jhuangjiahua: Middle click on title bar with
system title bar hidden
http://code.google.com/p/chromium/issues/detail?id=15430
I'm sorry,
because the obstructed of GFW, I'm can't access codereview.chromium.org
so I paste the patch here.
Has anyony may mend it for me, please?
Thanks.
diff --git a/chrome/browser/gtk/browser_window_gtk.cc
b/chrome/browser/gtk/browser_window_gtk.cc
index e5fe519..93c4093 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -1624,7 +1624,7 @@ gboolean
BrowserWindowGtk::OnButtonPressEvent(GtkWidget* widget,
return TRUE;
}
}
- } else if (event->button == 2) {
+ } else if (event->button == 2 && event->y < 40) {
gdk_window_lower(GTK_WIDGET(browser->window_)->window);
return TRUE;
} else if (event->button == 3) {
Attachments:
fix-middle-click.diff 550 bytes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---