From 0890eaa3fe9fe07f847a2208b3bb895e21a2394f Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 21 May 2014 13:49:24 -0400 Subject: [PATCH] window: Rename get_geometry to get_session_geometry --- src/core/window-private.h | 2 +- src/core/window.c | 10 +++++----- src/x11/session.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/core/window-private.h b/src/core/window-private.h index 5d6ce4067..6c79bbdd0 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -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, diff --git a/src/core/window.c b/src/core/window.c index deefa7593..6100640ee 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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, diff --git a/src/x11/session.c b/src/x11/session.c index f52804901..d9c7b9d55 100644 --- a/src/x11/session.c +++ b/src/x11/session.c @@ -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, " \n",