mutter_plugin_get_xdisplay()
This commit is contained in:
parent
e4501f801e
commit
b2fe0097e6
@ -927,3 +927,13 @@ mutter_plugin_get_windows (MutterPlugin *plugin)
|
|||||||
return mutter_get_windows (plugin_mgr->screen);
|
return mutter_get_windows (plugin_mgr->screen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Display *
|
||||||
|
mutter_plugin_get_xdisplay (MutterPlugin *plugin)
|
||||||
|
{
|
||||||
|
MutterPluginPrivate *priv = plugin->manager_private;
|
||||||
|
MutterPluginManager *mgr = priv->self;
|
||||||
|
MetaDisplay *display = meta_screen_get_display (mgr->screen);
|
||||||
|
Display *xdpy = meta_display_get_xdisplay (display);
|
||||||
|
|
||||||
|
return xdpy;
|
||||||
|
}
|
||||||
|
@ -230,12 +230,6 @@ mutter_plugin_query_screen_size (MutterPlugin *plugin,
|
|||||||
int *width,
|
int *width,
|
||||||
int *height);
|
int *height);
|
||||||
|
|
||||||
ClutterActor *
|
|
||||||
mutter_plugin_get_overlay_group (MutterPlugin *plugin);
|
|
||||||
|
|
||||||
ClutterActor *
|
|
||||||
mutter_plugin_get_stage (MutterPlugin *plugin);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
mutter_plugin_set_stage_reactive (MutterPlugin *plugin,
|
mutter_plugin_set_stage_reactive (MutterPlugin *plugin,
|
||||||
gboolean reactive);
|
gboolean reactive);
|
||||||
@ -251,4 +245,7 @@ mutter_plugin_set_stage_input_region (MutterPlugin *plugin,
|
|||||||
GList *
|
GList *
|
||||||
mutter_plugin_get_windows (MutterPlugin *plugin);
|
mutter_plugin_get_windows (MutterPlugin *plugin);
|
||||||
|
|
||||||
|
Display *
|
||||||
|
mutter_plugin_get_xdisplay (MutterPlugin *plugin);
|
||||||
|
|
||||||
#endif /* MUTTER_PLUGIN_H_ */
|
#endif /* MUTTER_PLUGIN_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user