fix center mode not actually being centered
This commit is contained in:
parent
854461e046
commit
4571a5fa97
2
spmenu.c
2
spmenu.c
|
@ -607,7 +607,7 @@ setupdisplay(void)
|
|||
match(); // match entries
|
||||
|
||||
// create menu window and set properties for it
|
||||
create_window(x + sp, y + vp - (menuposition == 1 ? 0 : borderwidth * 2), mw - 2 * sp - borderwidth * 2, mh);
|
||||
create_window(x + sp, y + vp - (menuposition == 1 ? 0 : menuposition == 2 ? borderwidth : borderwidth * 2), mw - 2 * sp - borderwidth * 2, mh);
|
||||
set_window();
|
||||
set_prop();
|
||||
|
||||
|
|
Loading…
Reference in a new issue