mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
Unify signal data docs
`// struct <name>` appears roughly 4 times as often as `// struct <name> *`. Switch to the former variant everywhere.
This commit is contained in:
parent
a94168b5fe
commit
4565b07484
9 changed files with 22 additions and 23 deletions
|
@ -23,8 +23,8 @@ struct wlr_input_inhibit_manager {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal activate; // struct wlr_input_inhibit_manager *
|
||||
struct wl_signal deactivate; // struct wlr_input_inhibit_manager *
|
||||
struct wl_signal activate; // struct wlr_input_inhibit_manager
|
||||
struct wl_signal deactivate; // struct wlr_input_inhibit_manager
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
|
|
|
@ -51,10 +51,10 @@ struct wlr_input_method_v2 {
|
|||
struct wl_listener seat_client_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal commit; // struct wlr_input_method_v2 *
|
||||
struct wl_signal new_popup_surface; // struct wlr_input_popup_surface_v2 *
|
||||
struct wl_signal grab_keyboard; // struct wlr_input_method_keyboard_grab_v2 *
|
||||
struct wl_signal destroy; // struct wlr_input_method_v2 *
|
||||
struct wl_signal commit; // struct wlr_input_method_v2
|
||||
struct wl_signal new_popup_surface; // struct wlr_input_popup_surface_v2
|
||||
struct wl_signal grab_keyboard; // struct wlr_input_method_keyboard_grab_v2
|
||||
struct wl_signal destroy; // struct wlr_input_method_v2
|
||||
} events;
|
||||
};
|
||||
|
||||
|
@ -82,7 +82,7 @@ struct wlr_input_method_keyboard_grab_v2 {
|
|||
struct wl_listener keyboard_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy; // struct wlr_input_method_keyboard_grab_v2 *
|
||||
struct wl_signal destroy; // struct wlr_input_method_keyboard_grab_v2
|
||||
} events;
|
||||
};
|
||||
|
||||
|
@ -93,8 +93,8 @@ struct wlr_input_method_manager_v2 {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal input_method; // struct wlr_input_method_v2 *
|
||||
struct wl_signal destroy; // struct wlr_input_method_manager_v2 *
|
||||
struct wl_signal input_method; // struct wlr_input_method_v2
|
||||
struct wl_signal destroy; // struct wlr_input_method_manager_v2
|
||||
} events;
|
||||
};
|
||||
|
||||
|
|
|
@ -33,10 +33,9 @@ struct wlr_layer_shell_v1 {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
// struct wlr_layer_surface_v1 *
|
||||
// Note: the output may be NULL. In this case, it is your
|
||||
// responsibility to assign an output before returning.
|
||||
struct wl_signal new_surface;
|
||||
struct wl_signal new_surface; // struct wlr_layer_surface_v1
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ struct wlr_output_layout {
|
|||
struct wl_list outputs;
|
||||
|
||||
struct {
|
||||
struct wl_signal add; // struct wlr_output_layout_output *
|
||||
struct wl_signal add; // struct wlr_output_layout_output
|
||||
struct wl_signal change;
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
|
|
@ -17,7 +17,7 @@ struct wlr_session_lock_manager_v1 {
|
|||
struct wl_global *global;
|
||||
|
||||
struct {
|
||||
struct wl_signal new_lock; // struct wlr_session_lock_v1 *
|
||||
struct wl_signal new_lock; // struct wlr_session_lock_v1
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
|
@ -34,7 +34,7 @@ struct wlr_session_lock_v1 {
|
|||
struct wl_list surfaces; // struct wlr_session_lock_surface_v1.link
|
||||
|
||||
struct {
|
||||
struct wl_signal new_surface; // struct wlr_session_lock_surface_v1 *
|
||||
struct wl_signal new_surface; // struct wlr_session_lock_surface_v1
|
||||
struct wl_signal unlock;
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
|
|
@ -60,10 +60,10 @@ struct wlr_text_input_v3 {
|
|||
struct wl_listener seat_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal enable; // struct wlr_text_input_v3 *
|
||||
struct wl_signal commit; // struct wlr_text_input_v3 *
|
||||
struct wl_signal disable; // struct wlr_text_input_v3 *
|
||||
struct wl_signal destroy; // struct wlr_text_input_v3 *
|
||||
struct wl_signal enable; // struct wlr_text_input_v3
|
||||
struct wl_signal commit; // struct wlr_text_input_v3
|
||||
struct wl_signal disable; // struct wlr_text_input_v3
|
||||
struct wl_signal destroy; // struct wlr_text_input_v3
|
||||
} events;
|
||||
};
|
||||
|
||||
|
@ -74,8 +74,8 @@ struct wlr_text_input_manager_v3 {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal text_input; // struct wlr_text_input_v3 *
|
||||
struct wl_signal destroy; // struct wlr_input_method_manager_v3 *
|
||||
struct wl_signal text_input; // struct wlr_text_input_v3
|
||||
struct wl_signal destroy; // struct wlr_input_method_manager_v3
|
||||
} events;
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ struct wlr_virtual_keyboard_manager_v1 {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal new_virtual_keyboard; // struct wlr_virtual_keyboard_v1 *
|
||||
struct wl_signal new_virtual_keyboard; // struct wlr_virtual_keyboard_v1
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@ struct wlr_virtual_pointer_manager_v1 {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal new_virtual_pointer; // struct wlr_virtual_pointer_v1_new_pointer_event *
|
||||
struct wl_signal new_virtual_pointer; // struct wlr_virtual_pointer_v1_new_pointer_event
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@ struct wlr_xdg_decoration_manager_v1 {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal new_toplevel_decoration; // struct wlr_xdg_toplevel_decoration *
|
||||
struct wl_signal new_toplevel_decoration; // struct wlr_xdg_toplevel_decoration
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
|
|
Loading…
Reference in a new issue