Commit 30f4d440 authored by Eric Anholt's avatar Eric Anholt Committed by Peter Hutterer

xkb: Print the xkbcomp path being executed when we fail to compile.

I don't know how many times I've had a broken server due to a bad
directory to xkbcomp, and only finding the whole path has shown me
where I went wrong.
Reviewed-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 14af8bee
......@@ -179,8 +179,10 @@ RunXkbComp(xkbcomp_buffer_callback callback, void *userdata)
#endif
return xnfstrdup(keymap);
}
else
LogMessage(X_ERROR, "Error compiling keymap (%s)\n", keymap);
else {
LogMessage(X_ERROR, "Error compiling keymap (%s) executing '%s'\n",
keymap, buf);
}
#ifdef WIN32
/* remove the temporary file */
unlink(tmpname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment