i3bar: Bugfix: Properly update the primary flag

This commit is contained in:
Michael Stapelberg 2012-04-22 20:43:43 +02:00
parent 54222d5617
commit 189b27b01e
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }