mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-26 06:46:33 -04:00
fix: gapoh not apply correctly in VT layout
This commit is contained in:
parent
c3891c9b50
commit
d1de409631
1 changed files with 3 additions and 3 deletions
|
|
@ -40,14 +40,14 @@ void vertical_tile(Monitor *m) {
|
||||||
mh = m->w.height - 2 * cur_gapov + cur_gapiv * ie;
|
mh = m->w.height - 2 * cur_gapov + cur_gapiv * ie;
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
mx = tx = cur_gapih;
|
mx = tx = cur_gapoh;
|
||||||
|
|
||||||
uint32_t master_surplus_width =
|
uint32_t master_surplus_width =
|
||||||
(m->w.width - 2 * cur_gapih - cur_gapih * ie * (master_num - 1));
|
(m->w.width - 2 * cur_gapoh - cur_gapih * ie * (master_num - 1));
|
||||||
float master_surplus_ratio = 1.0;
|
float master_surplus_ratio = 1.0;
|
||||||
|
|
||||||
uint32_t slave_surplus_width =
|
uint32_t slave_surplus_width =
|
||||||
(m->w.width - 2 * cur_gapih - cur_gapih * ie * (stack_num - 1));
|
(m->w.width - 2 * cur_gapoh - cur_gapih * ie * (stack_num - 1));
|
||||||
float slave_surplus_ratio = 1.0;
|
float slave_surplus_ratio = 1.0;
|
||||||
|
|
||||||
wl_list_for_each(c, &clients, link) {
|
wl_list_for_each(c, &clients, link) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue