Index: chrome/plugin/plugin_thread.cc |
diff --git a/chrome/plugin/plugin_thread.cc b/chrome/plugin/plugin_thread.cc |
index 85caf168fab548aebccdc66e07277b7be37e9944..6106ee4b9527b4a3ff860f87242ebc023555a672 100644 |
--- a/chrome/plugin/plugin_thread.cc |
+++ b/chrome/plugin/plugin_thread.cc |
@@ -47,6 +47,12 @@ PluginThread::PluginThread() |
} |
argv[argc] = NULL; |
char **argv_pointer = argv.get(); |
+ |
+ // Flash has problems receiving clicks with newer GTKs due to the |
+ // client-side windows change. To be safe, we just always set the |
+ // backwards-compat environment variable. |
+ setenv("GDK_NATIVE_WINDOWS", "1", 1); |
+ |
gtk_init(&argc, &argv_pointer); |
for (size_t i = 0; i < args.size(); ++i) { |
free(argv[i]); |