]> git.sur5r.net Git - i3/i3/commitdiff
Correct behaviour of parsing null-values in src/outputs.c
authorAxel Wagner <mail@merovius.de>
Sat, 7 Aug 2010 00:37:12 +0000 (02:37 +0200)
committerAxel Wagner <mail@merovius.de>
Sat, 7 Aug 2010 00:37:12 +0000 (02:37 +0200)
i3bar/src/outputs.c

index ada297a39a13efaaf8036ec18495f3c304b37986..0f035ac09654e750a3191befece74d2f919f1061 100644 (file)
@@ -22,11 +22,6 @@ struct outputs_json_params {
 static int outputs_null_cb(void *params_) {
     struct outputs_json_params *params = (struct outputs_json_params*) params_;
 
-    if (strcmp(params->cur_key, "current_workspace")) {
-        /* FIXME: Is this the correct behavior? */
-        return 0;
-    }
-
     FREE(params->cur_key);
 
     return 1;