mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -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;
|
||||
}
|
||||
|
||||
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_set_compositor_private (MetaWindow *window, void *priv);
|
||||
void meta_window_configure_notify (MetaWindow *window, XConfigureEvent *event);
|
||||
const char *meta_window_get_role (MetaWindow *window);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user