add pin events

This commit is contained in:
Vaxry 2024-03-18 18:12:46 +00:00
parent 74e0aae342
commit 0b87f4687a
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ e.g.: `workspace>>2`
| 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 |
| pin | emitted when a window is pinned or unpinned | `WINDOWADDRESS,PINSTATE` |
{{< callout type=warning >}}

View File

@ -49,3 +49,4 @@ M: means std::unordered_map<std::string, std::any> following props are members.
| configReloaded | emitted after the config is reloaded | nullptr | ✕ |
| preConfigReload | emitted before a config reload | nullptr | ✕ |
| keyPress | emitted on a key press | M: `event`:`wlr_keyboard_key_event*`, `keyboard`:`SKeyboard*` | ✔ |
| pin | emitted when a window is pinned or unpinned | CWindow* | ✕ |