]> git.sur5r.net Git - i3/i3/commitdiff
Modify the active-flag on parsing the output-list
authorAxel Wagner <mail@merovius.de>
Fri, 6 Aug 2010 03:49:57 +0000 (05:49 +0200)
committerAxel Wagner <mail@merovius.de>
Fri, 6 Aug 2010 03:49:57 +0000 (05:49 +0200)
i3bar/src/outputs.c

index 96f7d55fdaeb956854d8c5a24f650bb53d82868c..5fcbd64d3614fa2d09b97231dd33c03822796f77 100644 (file)
@@ -124,6 +124,7 @@ static int outputs_end_map_cb(void *params_) {
     if (target == NULL) {
         SLIST_INSERT_HEAD(outputs, params->outputs_walk, slist);
     } else {
+        target->active = params->outputs_walk->active;
         target->ws = params->outputs_walk->ws;
         target->rect = params->outputs_walk->rect;
     }