sway

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

commit 44ea92ea607e81ee6e611c6de700845effc43524
parent b5f34cc27d2c2461196dde44f858c6488e4d2772
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Sat, 26 Mar 2016 16:50:47 +0100

Add config path to error msg

Diffstat:
Msway/config.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sway/config.c b/sway/config.c @@ -407,8 +407,8 @@ bool read_config(FILE *file, struct sway_config *config) { switch(res->status) { case CMD_FAILURE: case CMD_INVALID: - sway_log(L_ERROR, "Error on line %i '%s': %s", line_number, line, - res->error); + sway_log(L_ERROR, "Error on line %i '%s': %s (%s)", line_number, line, + res->error, config->current_config); success = false; break;