summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.c b/window.c
index ae169a4..3cf4379 100644
--- a/window.c
+++ b/window.c
@@ -224,7 +224,7 @@ void win_open(win_t *win)
}
sizehints.flags |= USPosition;
} else {
- win->x = (e->scrw - win->w) / 2;
+ win->x = 0;
}
if ((gmask & YValue) != 0) {
if ((gmask & YNegative) != 0) {
@@ -234,7 +234,7 @@ void win_open(win_t *win)
}
sizehints.flags |= USPosition;
} else {
- win->y = (e->scrh - win->h) / 2;
+ win->y = 0;
}
attr.background_pixel = win->bgcol;