]> git.sur5r.net Git - i3/i3/commitdiff
i3bar: Bugfix: Properly update the primary flag
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 22 Apr 2012 18:43:43 +0000 (20:43 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 22 Apr 2012 18:43:43 +0000 (20:43 +0200)
i3bar/src/outputs.c

index 83a4c2487a14f109e4d2111be899bd8427f10211..eabf4d7bb2195d4c240637ae15fbc9afc4aac6a1 100644 (file)
@@ -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;
     }