--- a/chrome/browser/ui/libgtkui/gtk_ui.cc +++ b/chrome/browser/ui/libgtkui/gtk_ui.cc @@ -411,6 +411,10 @@ } // namespace Gtk2UI::Gtk2UI() : middle_click_action_(GetDefaultMiddleClickAction()) { +#if GTK_MAJOR_VERSION > 2 + g_setenv("GDK_SCALE", "1", FALSE); + gdk_set_allowed_backends("x11"); +#endif GtkInitFromCommandLine(*base::CommandLine::ForCurrentProcess()); }