From 6146f39b8a253bc84bc5ce1feb2e3cabc50d71ba Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 25 Jun 2012 21:43:41 +0200 Subject: [PATCH] =?UTF-8?q?when=20using=20i3=20-C,=20don=E2=80=99t=20send?= =?UTF-8?q?=20remaining=20arguments=20via=20IPC=20(Thanks=20Somelauw)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 39288295..e332f5b4 100644 --- a/src/main.c +++ b/src/main.c @@ -405,7 +405,7 @@ int main(int argc, char *argv[]) { /* If the user passes more arguments, we act like i3-msg would: Just send * the arguments as an IPC message to i3. This allows for nice semantic * commands such as 'i3 border none'. */ - if (optind < argc) { + if (!only_check_config && optind < argc) { /* We enable verbose mode so that the user knows what’s going on. * This should make it easier to find mistakes when the user passes * arguments by mistake. */