diff options
Diffstat (limited to 'chromium-gtk3.patch')
-rw-r--r-- | chromium-gtk3.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium-gtk3.patch b/chromium-gtk3.patch new file mode 100644 index 000000000000..a9ddb9452b3c --- /dev/null +++ b/chromium-gtk3.patch @@ -0,0 +1,13 @@ +--- 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()); + } + |