x11-display: Get _NET_WM_NAME from context
It's equivalent to the name that was passed when the context was created. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
@ -117,6 +117,14 @@ meta_context_notify_ready (MetaContext *context)
|
||||
META_CONTEXT_GET_CLASS (context)->notify_ready (context);
|
||||
}
|
||||
|
||||
const char *
|
||||
meta_context_get_name (MetaContext *context)
|
||||
{
|
||||
MetaContextPrivate *priv = meta_context_get_instance_private (context);
|
||||
|
||||
return priv->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_context_get_backend:
|
||||
* @context: The #MetaContext
|
||||
|
Reference in New Issue
Block a user