when using i3 -C, don’t send remaining arguments via IPC (Thanks Somelauw)
This commit is contained in:
parent
27a5cceb61
commit
6146f39b8a
@ -405,7 +405,7 @@ int main(int argc, char *argv[]) {
|
|||||||
/* If the user passes more arguments, we act like i3-msg would: Just send
|
/* 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
|
* the arguments as an IPC message to i3. This allows for nice semantic
|
||||||
* commands such as 'i3 border none'. */
|
* 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.
|
/* 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
|
* This should make it easier to find mistakes when the user passes
|
||||||
* arguments by mistake. */
|
* arguments by mistake. */
|
||||||
|
Loading…
Reference in New Issue
Block a user