[gnome-shell/gnome-3-2] browser-plugin: Set that we need XEmbed
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-2] browser-plugin: Set that we need XEmbed
- Date: Wed, 18 Jan 2012 15:30:32 +0000 (UTC)
commit ee4d861a29cc33e774558f87f3e8fcc0ffa5937d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Nov 10 22:35:41 2011 -0500
browser-plugin: Set that we need XEmbed
This makes the plugin work under WebKit-based browsers such as Chromium and
Epiphany. See http://code.google.com/p/chromium/issues/detail?id=38229 and
WindowedCreatePlugin() in
http://src.chromium.org/viewvc/chrome/trunk/src/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc?revision=86823&content-type=text%2Fplain
for more information.
https://bugzilla.gnome.org/show_bug.cgi?id=663823
browser-plugin/browser-plugin.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/browser-plugin.c b/browser-plugin/browser-plugin.c
index 0ab2d78..2daa0dd 100644
--- a/browser-plugin/browser-plugin.c
+++ b/browser-plugin/browser-plugin.c
@@ -816,6 +816,11 @@ NPP_GetValue(NPP instance,
*(NPObject**)value = funcs.createobject (instance, &plugin_class);
break;
+
+ case NPPVpluginNeedsXEmbed:
+ *(bool *)value = TRUE;
+ break;
+
default:
;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]