sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 354648cc073a4cb0c35862e68175b918c31c3104
parent 659871de1eacc7d6ad1a153cae160c818ef1739a
Author: Armin Preiml <apreiml@strohwolke.at>
Date:   Sat, 30 Jun 2018 10:38:16 +0200

refactor success_object

Diffstat:
Mswaymsg/main.c | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/swaymsg/main.c b/swaymsg/main.c @@ -26,11 +26,7 @@ static bool success_object(json_object *result) { return false; } - if (!json_object_get_boolean(success)) { - return false; - } - - return true; + return json_object_get_boolean(success); } // Iterate results array and return false if any of them failed