fix screencopy -> screencast

This commit is contained in:
Vaxry 2023-05-31 19:56:04 +02:00
parent 02072429bd
commit 649d058621
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ e.g.: `workspace>>2`
| changefloatingmode | emitted when a window changes its floating mode. `FLOATING` is either 0 or 1. | `WINDOWADDRESS`,`FLOATING` |
| 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` |
| screencopy | 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` |
| 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` |
{{< hint type=warning >}}
A fullscreen event is not guaranteed to fire on/off once in succession.

View File

@ -29,5 +29,5 @@ These are all the events that can be listened to using Event Hooks.
| mouseButton | fired on a mouse button press | wlr_pointer_button_event* |
| activeLayout | fired on a keyboard layout change. String pointer temporary, not guaranteed after execution of the handler finishes. | std::vector<void*>{SKeyboard*, std::string*} |
| preRender | fired before a frame for a monitor is about to be rendered | CMonitor* |
| screencopy | 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} |
| 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 |