parent
27ad651e35
commit
9493b61bb4
|
@ -1665,6 +1665,9 @@ void reconfig_windows(bool redraw_bars) {
|
||||||
XCB_CONFIG_WINDOW_HEIGHT |
|
XCB_CONFIG_WINDOW_HEIGHT |
|
||||||
XCB_CONFIG_WINDOW_STACK_MODE;
|
XCB_CONFIG_WINDOW_STACK_MODE;
|
||||||
values[0] = walk->rect.x;
|
values[0] = walk->rect.x;
|
||||||
|
if (config.position == POS_TOP)
|
||||||
|
values[1] = walk->rect.y;
|
||||||
|
else
|
||||||
values[1] = walk->rect.y + walk->rect.h - bar_height;
|
values[1] = walk->rect.y + walk->rect.h - bar_height;
|
||||||
values[2] = walk->rect.w;
|
values[2] = walk->rect.w;
|
||||||
values[3] = bar_height;
|
values[3] = bar_height;
|
||||||
|
|
Loading…
Reference in New Issue