window: Rename get_geometry to get_session_geometry

This commit is contained in:
Jasper St. Pierre 2014-05-21 13:49:24 -04:00
parent d4058d947b
commit 0890eaa3fe
3 changed files with 7 additions and 7 deletions

View File

@ -592,7 +592,7 @@ void meta_window_get_gravity_position (MetaWindow *window,
/* Get geometry for saving in the session; x/y are gravity
* position, and w/h are in resize inc above the base size.
*/
void meta_window_get_geometry (MetaWindow *window,
void meta_window_get_session_geometry (MetaWindow *window,
int *x,
int *y,
int *width,

View File

@ -4091,11 +4091,11 @@ meta_window_get_gravity_position (MetaWindow *window,
}
void
meta_window_get_geometry (MetaWindow *window,
int *x,
int *y,
int *width,
int *height)
meta_window_get_session_geometry (MetaWindow *window,
int *x,
int *y,
int *width,
int *height)
{
meta_window_get_gravity_position (window,
window->size_hints.win_gravity,

View File

@ -974,7 +974,7 @@ save_state (void)
/* Gravity */
{
int x, y, w, h;
meta_window_get_geometry (window, &x, &y, &w, &h);
meta_window_get_session_geometry (window, &x, &y, &w, &h);
fprintf (outfile,
" <geometry x=\"%d\" y=\"%d\" width=\"%d\" height=\"%d\" gravity=\"%s\"/>\n",