mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
Added meta_window_get_role().
This commit is contained in:
parent
822e125492
commit
ec0562550a
@ -8665,3 +8665,12 @@ meta_window_set_compositor_private (MetaWindow *window, void *priv)
|
|||||||
window->compositor_private = priv;
|
window->compositor_private = priv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *
|
||||||
|
meta_window_get_role (MetaWindow *window)
|
||||||
|
{
|
||||||
|
if (!window)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
return window->role;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -95,4 +95,6 @@ void meta_window_change_workspace_by_index (MetaWindow *window,
|
|||||||
void *meta_window_get_compositor_private (MetaWindow *window);
|
void *meta_window_get_compositor_private (MetaWindow *window);
|
||||||
void meta_window_set_compositor_private (MetaWindow *window, void *priv);
|
void meta_window_set_compositor_private (MetaWindow *window, void *priv);
|
||||||
void meta_window_configure_notify (MetaWindow *window, XConfigureEvent *event);
|
void meta_window_configure_notify (MetaWindow *window, XConfigureEvent *event);
|
||||||
|
const char *meta_window_get_role (MetaWindow *window);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user