From d5724bd6cce5c66170362d37dee725466e14f618 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sat, 11 Jun 2022 20:36:14 +0200 Subject: [PATCH] ipc: Improve help for win_op target specification --- src/ipc.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ipc.c b/src/ipc.c index b349f3ce..77aae9fe 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -1709,7 +1709,7 @@ static const IpcItem IPCArray[] = { { IPC_WinOps, "win_op", "wop", - "Change a property of a specific window", + "Change a property of one or more window(s)", "Use \"win_op \" to change the property of a window\n" "You can use the \"window_list\" command to retrieve a list of available windows\n" "You can use ? after most of these commands to receive the current\n" @@ -1748,7 +1748,14 @@ static const IpcItem IPCArray[] = { " win_op [on|off]\n" " win_op [on|off]\n" " win_op pass_ptr [on|off]\n" - " may be substituted with \"current\" to use the current window\n"}, + " may be one of\n" + " \"*\" or \"current\" : the current window (group operation)\n" + " \"=\" : the current window (non-group operation)\n" + " : the window XID\n" + " : the first window with name containing \n" + " : the window(s) with name matching \n" + " is a string containing at least one *\n" + }, { IPC_WinList, "window_list", "wl",