mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
mutter_plugin_get_screen()
This commit is contained in:
parent
a7a0a0300f
commit
f80e39e2ca
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user