docs: replace the less commonly used "::" with "."

This commit is contained in:
Kirill Primak 2023-10-02 22:06:44 +03:00
parent 0fdbdc36c0
commit a09d649439
19 changed files with 42 additions and 42 deletions

View file

@ -102,7 +102,7 @@ struct wlr_surface_output {
struct wlr_surface *surface;
struct wlr_output *output;
struct wl_list link; // wlr_surface::current_outputs
struct wl_list link; // wlr_surface.current_outputs
struct wl_listener bind;
struct wl_listener destroy;
};

View file

@ -87,7 +87,7 @@ struct wlr_drm_lease_v1 {
struct wlr_drm_lease_connector_v1 **connectors;
size_t n_connectors;
struct wl_list link; // wlr_drm_lease_device_v1::leases
struct wl_list link; // wlr_drm_lease_device_v1.leases
struct wl_listener destroy;

View file

@ -138,7 +138,7 @@ struct wlr_output {
int32_t phys_width, phys_height; // mm
// Note: some backends may have zero modes
struct wl_list modes; // wlr_output_mode::link
struct wl_list modes; // wlr_output_mode.link
struct wlr_output_mode *current_mode;
int32_t width, height;
int32_t refresh; // mHz, may be zero
@ -191,7 +191,7 @@ struct wlr_output {
int attach_render_locks; // number of locks forcing rendering
struct wl_list cursors; // wlr_output_cursor::link
struct wl_list cursors; // wlr_output_cursor.link
struct wlr_output_cursor *hardware_cursor;
struct wlr_swapchain *cursor_swapchain;
struct wlr_buffer *cursor_front_buffer;

View file

@ -134,7 +134,7 @@ struct wlr_touch_grab_interface {
void (*frame)(struct wlr_seat_touch_grab *grab);
// Cancel grab
void (*cancel)(struct wlr_seat_touch_grab *grab);
// Send wl_touch::cancel
// Send wl_touch.cancel
void (*wl_cancel)(struct wlr_seat_touch_grab *grab,
struct wlr_surface *surface);
};

View file

@ -30,7 +30,7 @@ struct wlr_xcursor_manager_theme {
struct wlr_xcursor_manager {
char *name;
uint32_t size;
struct wl_list scaled_themes; // wlr_xcursor_manager_theme::link
struct wl_list scaled_themes; // wlr_xcursor_manager_theme.link
};
/**

View file

@ -108,9 +108,9 @@ struct wlr_xwayland_surface {
pid_t pid;
bool has_utf8_title;
struct wl_list children; // wlr_xwayland_surface::parent_link
struct wl_list children; // wlr_xwayland_surface.parent_link
struct wlr_xwayland_surface *parent;
struct wl_list parent_link; // wlr_xwayland_surface::children
struct wl_list parent_link; // wlr_xwayland_surface.children
xcb_atom_t *window_type;
size_t window_type_len;