From 817e9a974edf4fc54e66bf2bad6d0fdb28634913 Mon Sep 17 00:00:00 2001 From: Tim Waterhouse Date: Sat, 13 Jul 2024 07:21:57 -0700 Subject: [PATCH] Update socket2 events (#713) Add windowtitlev2 to match added event in PR for Hyprland --- pages/IPC/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/IPC/_index.md b/pages/IPC/_index.md index 4003949..6920ef5 100644 --- a/pages/IPC/_index.md +++ b/pages/IPC/_index.md @@ -62,6 +62,7 @@ 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` | +| windowtitlev2 | emitted when a window title changes. | `WINDOWADDRESS,WINDOWTITLE` | | 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` |