mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
one. last. off-by-2.
This commit is contained in:
parent
e533bf54a4
commit
36d3347501
1 changed files with 4 additions and 2 deletions
|
@ -960,7 +960,8 @@ vertical_stack(struct workspace *ws, struct swm_geometry *g) {
|
|||
gg.w = g->w - (main_width + 2);
|
||||
gg.h = hrh - 2;
|
||||
j = 0;
|
||||
} else if (j == colno - 1)
|
||||
}
|
||||
if (j == colno - 1)
|
||||
gg.h = (hrh + (g->h - (colno * hrh)));
|
||||
|
||||
if (j == 0)
|
||||
|
@ -1063,7 +1064,8 @@ horizontal_stack(struct workspace *ws, struct swm_geometry *g) {
|
|||
gg.h = g->h - (main_height + 2);
|
||||
gg.w = hrw - 2;
|
||||
j = 0;
|
||||
} else if (j == rowno - 1)
|
||||
}
|
||||
if (j == rowno - 1)
|
||||
gg.w = (hrw + (g->w - (rowno * hrw)));
|
||||
|
||||
if (j == 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue