diff options
author | Bert Münnich <ber.t@posteo.de> | 2014-04-21 20:40:01 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2014-04-21 21:29:27 +0200 |
commit | 0b83386bff6236abc9aff3593954575f60b0ac69 (patch) | |
tree | 54629affc6161204f6b074d7038d3b4ac3333877 /window.c | |
parent | e685859a30560e076db4de003fba4e4500ade2c7 (diff) | |
download | nsxiv-0b83386bff6236abc9aff3593954575f60b0ac69.tar.zst |
Do not center window on screen, workaround for issue #9
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |