mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Revert "browser-plugin: Set windowless mode and don't claim to need XEmbed"
This reverts commit a52c91e9e5.
https://bugzilla.gnome.org/show_bug.cgi?id=758035
This commit is contained in:
parent
2a950ca3b3
commit
6664553b7e
1 changed files with 4 additions and 3 deletions
|
|
@ -218,9 +218,6 @@ NPP_New(NPMIMEType mimetype,
|
|||
data = g_slice_new (PluginData);
|
||||
instance->pdata = data;
|
||||
|
||||
/* set windowless mode */
|
||||
funcs.setvalue(instance, NPPVpluginWindowBool, NULL);
|
||||
|
||||
data->proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
|
||||
G_DBUS_PROXY_FLAGS_NONE,
|
||||
NULL, /* interface info */
|
||||
|
|
@ -1037,6 +1034,10 @@ NPP_GetValue(NPP instance,
|
|||
*(NPObject**)value = funcs.createobject (instance, &plugin_class);
|
||||
break;
|
||||
|
||||
case NPPVpluginNeedsXEmbed:
|
||||
*(bool *)value = TRUE;
|
||||
break;
|
||||
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue