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:
Jonas Ådahl
2021-03-03 22:12:01 +01:00
parent d3b7d8df0d
commit 7d0aaa14d1
4 changed files with 12 additions and 20 deletions

View File

@ -45,6 +45,8 @@ struct _MetaContextClass
void (* notify_ready) (MetaContext *context);
};
const char * meta_context_get_name (MetaContext *context);
MetaWaylandCompositor * meta_context_get_wayland_compositor (MetaContext *context);
#endif /* META_CONTEXT_PRIVATE_H */