This commit is contained in:
speedie 2023-07-06 04:02:23 +02:00
parent 43721a0aee
commit f8ff87f669
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ void resizeclient_x11(void) {
y = (mo.output_height - sp.mh) / 2 - ypos;
} else { // top or bottom
x = 0;
y = menuposition ? 0 : mo.output_width - sp.mh - ypos;
y = menuposition ? 0 : mo.output_height - sp.mh - ypos;
sp.mw = (menuwidth > 0 ? menuwidth : mo.output_width);
}

View file

@ -70,7 +70,7 @@ void setupdisplay_x11(void) {
y = (mo.output_height - sp.mh) / 2 - ypos;
} else { // top or bottom
x = 0;
y = menuposition ? 0 : mo.output_width - sp.mh - ypos;
y = menuposition ? 0 : mo.output_height - sp.mh - ypos;
sp.mw = (menuwidth > 0 ? menuwidth : mo.output_width);
}