mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-09 06:55:59 +01:00
output: document signals
This commit is contained in:
parent
26b9d6dbb1
commit
9203bfdd4f
1 changed files with 5 additions and 0 deletions
|
@ -88,9 +88,14 @@ struct wlr_output {
|
||||||
float transform_matrix[9];
|
float transform_matrix[9];
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
// Request to render a frame
|
||||||
struct wl_signal frame;
|
struct wl_signal frame;
|
||||||
|
// Emitted when buffers need to be swapped (because software cursors or
|
||||||
|
// fullscreen damage or because of backend-specific logic)
|
||||||
struct wl_signal needs_swap;
|
struct wl_signal needs_swap;
|
||||||
|
// Emitted right before buffer swap
|
||||||
struct wl_signal swap_buffers; // wlr_output_event_swap_buffers
|
struct wl_signal swap_buffers; // wlr_output_event_swap_buffers
|
||||||
|
// Emitted right after the buffer has been presented to the user
|
||||||
struct wl_signal present; // wlr_output_event_present
|
struct wl_signal present; // wlr_output_event_present
|
||||||
struct wl_signal enable;
|
struct wl_signal enable;
|
||||||
struct wl_signal mode;
|
struct wl_signal mode;
|
||||||
|
|
Loading…
Reference in a new issue