nsxiv0b83386
Do not center window on screen, workaround for issue #9
+3 −3
2 files changed
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION = git-20140406 | |
| 1 | + | VERSION = git-20140421 | |
| 2 | 2 | ||
| 3 | 3 | PREFIX = /usr/local | |
| 4 | 4 | MANPREFIX = $(PREFIX)/share/man | |
| @@ -224,7 +224,7 @@ void win_open(win_t *win) | |||
| 224 | 224 | } | |
| 225 | 225 | sizehints.flags |= USPosition; | |
| 226 | 226 | } else { | |
| 227 | − | win->x = (e->scrw - win->w) / 2; | |
| 227 | + | win->x = 0; | |
| 228 | 228 | } | |
| 229 | 229 | if ((gmask & YValue) != 0) { | |
| 230 | 230 | if ((gmask & YNegative) != 0) { | |
| @@ -234,7 +234,7 @@ void win_open(win_t *win) | |||
| 234 | 234 | } | |
| 235 | 235 | sizehints.flags |= USPosition; | |
| 236 | 236 | } else { | |
| 237 | − | win->y = (e->scrh - win->h) / 2; | |
| 237 | + | win->y = 0; | |
| 238 | 238 | } | |
| 239 | 239 | ||
| 240 | 240 | attr.background_pixel = win->bgcol; | |