mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
doc new events
This commit is contained in:
parent
3e5d3e6a91
commit
fd7fb8c90e
2 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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<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} |
|
||||
|
|
Loading…
Reference in a new issue