Expose desktop geometry

SVN revision: 12843
This commit is contained in:
handyande 2005-01-09 18:58:13 +00:00 committed by handyande
parent 100f37b6a2
commit 382effca39
2 changed files with 7 additions and 0 deletions

View File

@ -350,3 +350,9 @@ e_zone_desk_count_set(E_Zone *zone, int x_count, int y_count)
e_config_save_queue();
}
void
e_zone_desk_count_get(E_Zone *zone, int *x_count, int *y_count)
{
*x_count = zone->desk_x_count;
*y_count = zone->desk_y_count;
}

View File

@ -32,6 +32,7 @@ EAPI E_Zone *e_zone_current_get(E_Container *con);
EAPI void e_zone_bg_reconfigure(E_Zone *zone);
EAPI Evas_List *e_zone_clients_list_get(E_Zone *zone);
EAPI void e_zone_desk_count_set(E_Zone *zone, int x_count, int y_count);
EAPI void e_zone_desk_count_get(E_Zone *zone, int *x_count, int *y_count);
#endif