From 189b27b01e39bf91932b2ea8cfbe81b9af305db7 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 22 Apr 2012 20:43:43 +0200 Subject: [PATCH] i3bar: Bugfix: Properly update the primary flag --- i3bar/src/outputs.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5