summaryrefslogtreecommitdiff
path: root/src/place.c
diff options
context:
space:
mode:
authorrhp <rhp>2001-07-04 04:33:31 +0000
committerrhp <rhp>2001-07-04 04:33:31 +0000
commit73b7323d844089a877133d0b818ef6da53ed516c (patch)
tree6f7900ba93e9ec650a1c120141ba84860efa8bcd /src/place.c
parentec00c9852d57b812a78d242fffe1d1d52f272427 (diff)
downloadmetacity-73b7323d844089a877133d0b818ef6da53ed516c.tar.gz
...
Diffstat (limited to 'src/place.c')
-rw-r--r--src/place.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/place.c b/src/place.c
index 464ad779..c303cfb4 100644
--- a/src/place.c
+++ b/src/place.c
@@ -195,9 +195,7 @@ find_first_fit (MetaWindow *window,
int *new_x,
int *new_y)
{
-
-
-
+
}
void
@@ -256,8 +254,8 @@ meta_window_place (MetaWindow *window,
int w, h;
/* I think whole screen will look nicer than workarea */
- w = WidthOfScreen (window->screen->xscreen);
- h = HeightOfScreen (window->screen->xscreen);
+ w = window->screen->width;
+ h = window->screen->height;
x = (w - window->rect.width) / 2;
y = (y - window->rect.height) / 2;