meta_screen_get_active_workspace()
This commit is contained in:
parent
c8e0acfef3
commit
99f6b2cdce
@ -2918,3 +2918,9 @@ meta_screen_get_active_workspace_index (MetaScreen *screen)
|
|||||||
|
|
||||||
return meta_workspace_index (active);
|
return meta_workspace_index (active);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MetaWorkspace *
|
||||||
|
meta_screen_get_active_workspace (MetaScreen *screen)
|
||||||
|
{
|
||||||
|
return screen->active_workspace;
|
||||||
|
}
|
||||||
|
@ -61,4 +61,6 @@ MetaWorkspace *meta_screen_append_new_workspace (MetaScreen *screen,
|
|||||||
|
|
||||||
int meta_screen_get_active_workspace_index (MetaScreen *screen);
|
int meta_screen_get_active_workspace_index (MetaScreen *screen);
|
||||||
|
|
||||||
|
MetaWorkspace * meta_screen_get_active_workspace (MetaScreen *screen);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user