summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-02-18 21:22:00 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-02-18 21:22:00 +0100
commit53e1065c78f0befe65134cc3d07407e40c1f302f (patch)
treef436dbb925ae40d01ab6ab3a92e94afbb5784d75
parent69da48025407f22d293736fe241bbcaa98c60ec0 (diff)
downloadfribid-53e1065c78f0befe65134cc3d07407e40c1f302f.tar.gz
fribid-53e1065c78f0befe65134cc3d07407e40c1f302f.tar.bz2
fribid-53e1065c78f0befe65134cc3d07407e40c1f302f.zip
Made the plugin windowless (for compatibility with Chrome)
-rw-r--r--plugin/npmain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/npmain.c b/plugin/npmain.c
index 86961cf..670be29 100644
--- a/plugin/npmain.c
+++ b/plugin/npmain.c
@@ -68,6 +68,9 @@ NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) {
case NPPVpluginTransparentBool:
*(bool*)value = false;
return NPERR_NO_ERROR;
+ case NPPVpluginNeedsXEmbed:
+ *(bool*)value = true;
+ return NPERR_NO_ERROR;
default:
return NPERR_INVALID_PARAM;
}