From 649d0586211cfbb77c697f2441987bd7810bd1a5 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 31 May 2023 19:56:04 +0200 Subject: [PATCH] fix screencopy -> screencast --- pages/IPC/_index.md | 2 +- pages/Plugins/Development/Event-list.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/IPC/_index.md b/pages/IPC/_index.md index 56a6019..a90d82e 100644 --- a/pages/IPC/_index.md +++ b/pages/IPC/_index.md @@ -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. diff --git a/pages/Plugins/Development/Event-list.md b/pages/Plugins/Development/Event-list.md index 9e802c1..f7a21d8 100644 --- a/pages/Plugins/Development/Event-list.md +++ b/pages/Plugins/Development/Event-list.md @@ -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{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} | +| screencast | fired when the screencopy state of a client changes. Keep in mind there might be multiple separate clients. | std::vector{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 |