]> git.sur5r.net Git - i3/i3/commit
i3-msg: only print input + errorposition if they exist 3186/head
authorOrestis Floros <orestisf1993@gmail.com>
Sun, 18 Mar 2018 01:38:06 +0000 (03:38 +0200)
committerOrestis Floros <orestisf1993@gmail.com>
Sun, 18 Mar 2018 01:38:06 +0000 (03:38 +0200)
commit124e64767ea7ce8fc46d53b9eb3ae7d7111dde30
treeb92fcf6929640ed2307912d83d8f6c11b7a92817
parent8f5c1cb6b851e4be8825ba70f12cdbcbb19f0e16
i3-msg: only print input + errorposition if they exist

Before:
$ i3-msg floating disable, move window to position 100 px 100 px
ERROR: Your command: (null)
ERROR:               (null)
ERROR: Cannot change position of a window/container because it is not floating.
[{"success":true},{"success":false,"error":"Cannot change position of a window/container because it is not floating."}]

After:
$ i3-msg floating disable, move window to position 100 px 100 px
ERROR: Cannot change position of a window/container because it is not floating.
[{"success":true},{"success":false,"error":"Cannot change position of a window/container because it is not floating."}]
i3-msg/main.c