mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
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);
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
MetaWorkspace * meta_screen_get_active_workspace (MetaScreen *screen);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user