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:
Kirill Primak 2023-08-23 21:12:12 +03:00 committed by Simon Ser
parent a94168b5fe
commit 4565b07484
9 changed files with 22 additions and 23 deletions

View File

@ -23,8 +23,8 @@ struct wlr_input_inhibit_manager {
struct wl_listener display_destroy; struct wl_listener display_destroy;
struct { struct {
struct wl_signal activate; // 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 deactivate; // struct wlr_input_inhibit_manager
struct wl_signal destroy; struct wl_signal destroy;
} events; } events;

View File

@ -51,10 +51,10 @@ struct wlr_input_method_v2 {
struct wl_listener seat_client_destroy; struct wl_listener seat_client_destroy;
struct { struct {
struct wl_signal commit; // 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 new_popup_surface; // struct wlr_input_popup_surface_v2
struct wl_signal grab_keyboard; // struct wlr_input_method_keyboard_grab_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 destroy; // struct wlr_input_method_v2
} events; } events;
}; };
@ -82,7 +82,7 @@ struct wlr_input_method_keyboard_grab_v2 {
struct wl_listener keyboard_destroy; struct wl_listener keyboard_destroy;
struct { struct {
struct wl_signal destroy; // struct wlr_input_method_keyboard_grab_v2 * struct wl_signal destroy; // struct wlr_input_method_keyboard_grab_v2
} events; } events;
}; };
@ -93,8 +93,8 @@ struct wlr_input_method_manager_v2 {
struct wl_listener display_destroy; struct wl_listener display_destroy;
struct { struct {
struct wl_signal input_method; // struct wlr_input_method_v2 * struct wl_signal input_method; // struct wlr_input_method_v2
struct wl_signal destroy; // struct wlr_input_method_manager_v2 * struct wl_signal destroy; // struct wlr_input_method_manager_v2
} events; } events;
}; };

View File

@ -33,10 +33,9 @@ struct wlr_layer_shell_v1 {
struct wl_listener display_destroy; struct wl_listener display_destroy;
struct { struct {
// struct wlr_layer_surface_v1 *
// Note: the output may be NULL. In this case, it is your // Note: the output may be NULL. In this case, it is your
// responsibility to assign an output before returning. // 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; struct wl_signal destroy;
} events; } events;

View File

@ -28,7 +28,7 @@ struct wlr_output_layout {
struct wl_list outputs; struct wl_list outputs;
struct { 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 change;
struct wl_signal destroy; struct wl_signal destroy;
} events; } events;

View File

@ -17,7 +17,7 @@ struct wlr_session_lock_manager_v1 {
struct wl_global *global; struct wl_global *global;
struct { 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; struct wl_signal destroy;
} events; } events;
@ -34,7 +34,7 @@ struct wlr_session_lock_v1 {
struct wl_list surfaces; // struct wlr_session_lock_surface_v1.link struct wl_list surfaces; // struct wlr_session_lock_surface_v1.link
struct { 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 unlock;
struct wl_signal destroy; struct wl_signal destroy;
} events; } events;

View File

@ -60,10 +60,10 @@ struct wlr_text_input_v3 {
struct wl_listener seat_destroy; struct wl_listener seat_destroy;
struct { struct {
struct wl_signal enable; // 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 commit; // struct wlr_text_input_v3
struct wl_signal disable; // 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 destroy; // struct wlr_text_input_v3
} events; } events;
}; };
@ -74,8 +74,8 @@ struct wlr_text_input_manager_v3 {
struct wl_listener display_destroy; struct wl_listener display_destroy;
struct { struct {
struct wl_signal text_input; // struct wlr_text_input_v3 * struct wl_signal text_input; // struct wlr_text_input_v3
struct wl_signal destroy; // struct wlr_input_method_manager_v3 * struct wl_signal destroy; // struct wlr_input_method_manager_v3
} events; } events;
}; };

View File

@ -19,7 +19,7 @@ struct wlr_virtual_keyboard_manager_v1 {
struct wl_listener display_destroy; struct wl_listener display_destroy;
struct { 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; struct wl_signal destroy;
} events; } events;
}; };

View File

@ -21,7 +21,7 @@ struct wlr_virtual_pointer_manager_v1 {
struct wl_listener display_destroy; struct wl_listener display_destroy;
struct { 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; struct wl_signal destroy;
} events; } events;
}; };

View File

@ -17,7 +17,7 @@ struct wlr_xdg_decoration_manager_v1 {
struct wl_listener display_destroy; struct wl_listener display_destroy;
struct { 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; struct wl_signal destroy;
} events; } events;