mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
window: Rename get_geometry to get_session_geometry
This commit is contained in:
parent
d4058d947b
commit
0890eaa3fe
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user