Merge pull request #3020 from emersion/swaymsg-return-status

swaymsg: fix get_outputs status code
master
Drew DeVault 6 years ago committed by GitHub
commit b90af33570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@ static bool success_object(json_object *result) {
json_object *success;
if (!json_object_object_get_ex(result, "success", &success)) {
return false;
return true;
}
return json_object_get_boolean(success);

Loading…
Cancel
Save