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 /* Get geometry for saving in the session; x/y are gravity
* position, and w/h are in resize inc above the base size. * 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 *x,
int *y, int *y,
int *width, int *width,

View File

@ -4091,7 +4091,7 @@ meta_window_get_gravity_position (MetaWindow *window,
} }
void void
meta_window_get_geometry (MetaWindow *window, meta_window_get_session_geometry (MetaWindow *window,
int *x, int *x,
int *y, int *y,
int *width, int *width,

View File

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