Krolyxon
Commit 0b83386

Branches

Refs →

nsxiv0b83386

Do not center window on screen, workaround for issue #9

Author
Bert Münnich
Date
2014-04-21 20:40 +0200
Committer
Bert Münnich · 2014-04-21 21:29 +0200
Parent
e685859
Commit
0b83386bff6236abc9aff3593954575f60b0ac69

+3 −3

2 files changed

  1. M Makefile +1 −1
  2. M window.c +2 −2
M Makefile View
@@ -1,4 +1,4 @@
1−VERSION = git-20140406
1+VERSION = git-20140421
22
33 PREFIX = /usr/local
44 MANPREFIX = $(PREFIX)/share/man
M window.c View
@@ -224,7 +224,7 @@ void win_open(win_t *win)
224224 }
225225 sizehints.flags |= USPosition;
226226 } else {
227− win->x = (e->scrw - win->w) / 2;
227+ win->x = 0;
228228 }
229229 if ((gmask & YValue) != 0) {
230230 if ((gmask & YNegative) != 0) {
@@ -234,7 +234,7 @@ void win_open(win_t *win)
234234 }
235235 sizehints.flags |= USPosition;
236236 } else {
237− win->y = (e->scrh - win->h) / 2;
237+ win->y = 0;
238238 }
239239
240240 attr.background_pixel = win->bgcol;