meta_screen_get_active_workspace()

This commit is contained in:
Tomas Frydrych 2008-11-20 12:41:28 +00:00
parent c8e0acfef3
commit 99f6b2cdce
2 changed files with 8 additions and 0 deletions

View File

@ -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;
}

View File

@ -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