feat: add ipc windowtitle event (#239)

* feat: add ipc windowtitle event

* feat: add windowtitle in event list
This commit is contained in:
Cyril Levis 2023-06-03 18:00:27 +02:00 committed by GitHub
parent 1494ff6a3a
commit 882c65e3a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ e.g.: `workspace>>2`
| urgent | emitted when a window requests an `urgent` state | `WINDOWADDRESS` |
| 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` |
{{< hint type=warning >}}
A fullscreen event is not guaranteed to fire on/off once in succession.

View File

@ -31,3 +31,4 @@ These are all the events that can be listened to using Event Hooks.
| preRender | fired before a frame for a monitor is about to be rendered | CMonitor* |
| screencast | fired when the screencopy state of a client changes. Keep in mind there might be multiple separate clients. | std::vector<uint64_t>{state, framesInHalfSecond, owner} |
| render | fired at various stages of rendering to allow your plugin to render stuff. See `src/SharedDefs.hpp` for a list with explanations | eRenderStage |
| windowtitle | emitted when a window title changes. | CWindow* |