From d028652d78f341aa77328fb8ae7e26fc296be7ca Mon Sep 17 00:00:00 2001 From: VPavliashvili Date: Tue, 7 May 2024 14:54:43 +0400 Subject: [PATCH] IPC: added `togglegroup`, `moveintogroup` and `moveoutofgroup` event infos (#637) --- pages/IPC/_index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/IPC/_index.md b/pages/IPC/_index.md index 0932bad..d7a46ad 100644 --- a/pages/IPC/_index.md +++ b/pages/IPC/_index.md @@ -62,6 +62,9 @@ e.g.: `workspace>>2` | minimize | emitted when a window requests a change to its minimized state. `MINIMIZED` is either 0 or 1. | `WINDOWADDRESS,MINIMIZED` | | screencast | emitted when a screencopy state of a client changes. Keep in mind there might be multiple separate clients. State is 0/1, owner is 0 - monitor share, 1 - window share | `STATE,OWNER` | | windowtitle | emitted when a window title changes. | `WINDOWADDRESS` | +| togglegroup | emitted when `togglegroup` command is used.
returns `state,handle` where the `state` is a toggle status and the `handle` is one or more window addresses separated by a comma
e.g. `0,0x64cea2525760,0x64cea2522380` where `0` means that a group has been destroyed and the rest informs which windows were part of it | `0/1,WINDOWADDRESS(ES)` | +| moveintogroup | emitted when the window is merged into a group. returns the address of a merged window | `WINDOWADDRESS` | +| moveoutofgroup | emitted when the window is removed from a group. returns the address of a removed window | `WINDOWADDRESS` | | ignoregrouplock | emitted when `ignoregrouplock` is toggled. | `0/1` | | lockgroups | emitted when `lockgroups` is toggled. | `0/1` | | configreloaded | emitted when the config is done reloading | empty |