i3bar: Bugfix: Properly update the primary flag
This commit is contained in:
parent
54222d5617
commit
189b27b01e
|
@ -219,6 +219,7 @@ static int outputs_end_map_cb(void *params_) {
|
||||||
SLIST_INSERT_HEAD(outputs, params->outputs_walk, slist);
|
SLIST_INSERT_HEAD(outputs, params->outputs_walk, slist);
|
||||||
} else {
|
} else {
|
||||||
target->active = params->outputs_walk->active;
|
target->active = params->outputs_walk->active;
|
||||||
|
target->primary = params->outputs_walk->primary;
|
||||||
target->ws = params->outputs_walk->ws;
|
target->ws = params->outputs_walk->ws;
|
||||||
target->rect = params->outputs_walk->rect;
|
target->rect = params->outputs_walk->rect;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue