From: Michael Stapelberg Date: Sun, 22 Apr 2012 18:43:43 +0000 (+0200) Subject: i3bar: Bugfix: Properly update the primary flag X-Git-Tag: 4.2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=189b27b01e39bf91932b2ea8cfbe81b9af305db7;p=i3%2Fi3 i3bar: Bugfix: Properly update the primary flag --- diff --git a/i3bar/src/outputs.c b/i3bar/src/outputs.c index 83a4c248..eabf4d7b 100644 --- a/i3bar/src/outputs.c +++ b/i3bar/src/outputs.c @@ -219,6 +219,7 @@ static int outputs_end_map_cb(void *params_) { SLIST_INSERT_HEAD(outputs, params->outputs_walk, slist); } else { target->active = params->outputs_walk->active; + target->primary = params->outputs_walk->primary; target->ws = params->outputs_walk->ws; target->rect = params->outputs_walk->rect; }