diff --git a/pages/IPC/_index.md b/pages/IPC/_index.md index 24f1e5a..a82a95d 100644 --- a/pages/IPC/_index.md +++ b/pages/IPC/_index.md @@ -48,6 +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` | {{< hint type=warning >}} A fullscreen event is not guaranteed to fire on/off once in succession. diff --git a/pages/Plugins/Development/Event-list.md b/pages/Plugins/Development/Event-list.md index c6e9ddb..47007b5 100644 --- a/pages/Plugins/Development/Event-list.md +++ b/pages/Plugins/Development/Event-list.md @@ -29,3 +29,4 @@ 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{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{state, framesInHalfSecond, owner} |