mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -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
|
||||
* 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,
|
||||
|
@ -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,
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user