mutter_plugin_get_screen()

This commit is contained in:
Tomas Frydrych 2008-11-03 10:07:12 +00:00
parent a7a0a0300f
commit f80e39e2ca
2 changed files with 13 additions and 0 deletions

View File

@ -927,3 +927,13 @@ mutter_plugin_get_xdisplay (MutterPlugin *plugin)
return xdpy;
}
MetaScreen *
mutter_plugin_get_screen (MutterPlugin *plugin)
{
MutterPluginPrivate *priv = plugin->manager_private;
MutterPluginManager *mgr = priv->self;
return mgr->screen;
}

View File

@ -248,4 +248,7 @@ mutter_plugin_get_windows (MutterPlugin *plugin);
Display *
mutter_plugin_get_xdisplay (MutterPlugin *plugin);
MetaScreen *
mutter_plugin_get_screen (MutterPlugin *plugin);
#endif /* MUTTER_PLUGIN_H_ */