mirror of
https://github.com/brl/mutter.git
synced 2025-07-24 18:38:03 +00:00
mutter_plugin_get_screen()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user