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

@ -27,7 +27,7 @@ struct wlr_libinput_backend {
struct wl_listener session_destroy;
struct wl_listener session_signal;
struct wl_list devices; // wlr_libinput_device::link
struct wl_list devices; // wlr_libinput_device.link
};
struct wlr_libinput_input_device {

View file

@ -133,7 +133,7 @@ struct wlr_wl_seat {
struct wl_pointer *wl_pointer;
struct wlr_wl_pointer *active_pointer;
struct wl_list pointers; // wlr_wl_pointer::link
struct wl_list pointers; // wlr_wl_pointer.link
struct zwp_pointer_gesture_swipe_v1 *gesture_swipe;
struct zwp_pointer_gesture_pinch_v1 *gesture_pinch;

View file

@ -30,7 +30,7 @@ struct wlr_x11_backend;
struct wlr_x11_output {
struct wlr_output wlr_output;
struct wlr_x11_backend *x11;
struct wl_list link; // wlr_x11_backend::outputs
struct wl_list link; // wlr_x11_backend.outputs
xcb_window_t win;
xcb_present_event_t present_event_id;
@ -38,9 +38,9 @@ struct wlr_x11_output {
struct wlr_pointer pointer;
struct wlr_touch touch;
struct wl_list touchpoints; // wlr_x11_touchpoint::link
struct wl_list touchpoints; // wlr_x11_touchpoint.link
struct wl_list buffers; // wlr_x11_buffer::link
struct wl_list buffers; // wlr_x11_buffer.link
pixman_region32_t exposed;
@ -55,7 +55,7 @@ struct wlr_x11_output {
struct wlr_x11_touchpoint {
uint32_t x11_id;
int wayland_id;
struct wl_list link; // wlr_x11_output::touch_points
struct wl_list link; // wlr_x11_output.touch_points
};
struct wlr_x11_backend {
@ -76,7 +76,7 @@ struct wlr_x11_backend {
uint32_t dri3_major_version, dri3_minor_version;
size_t requested_outputs;
struct wl_list outputs; // wlr_x11_output::link
struct wl_list outputs; // wlr_x11_output.link
struct wlr_keyboard keyboard;
@ -113,7 +113,7 @@ struct wlr_x11_buffer {
struct wlr_x11_backend *x11;
struct wlr_buffer *buffer;
xcb_pixmap_t pixmap;
struct wl_list link; // wlr_x11_output::buffers
struct wl_list link; // wlr_x11_output.buffers
struct wl_listener buffer_destroy;
size_t n_busy;
};

View file

@ -7,7 +7,7 @@
struct wlr_drm_dumb_buffer {
struct wlr_buffer base;
struct wl_list link; // wlr_drm_dumb_allocator::buffers
struct wl_list link; // wlr_drm_dumb_allocator.buffers
int drm_fd; // -1 if the allocator has been destroyed
struct wlr_dmabuf_attributes dmabuf;
@ -23,7 +23,7 @@ struct wlr_drm_dumb_buffer {
struct wlr_drm_dumb_allocator {
struct wlr_allocator base;
struct wl_list buffers; // wlr_drm_dumb_buffer::link
struct wl_list buffers; // wlr_drm_dumb_buffer.link
int drm_fd;
};

View file

@ -6,15 +6,15 @@
#include <wlr/types/wlr_tablet_v2.h>
struct wlr_tablet_seat_v2 {
struct wl_list link; // wlr_tablet_manager_v2::seats
struct wl_list link; // wlr_tablet_manager_v2.seats
struct wlr_seat *wlr_seat;
struct wlr_tablet_manager_v2 *manager;
struct wl_list tablets; // wlr_tablet_v2_tablet::link
struct wl_list tablets; // wlr_tablet_v2_tablet.link
struct wl_list tools;
struct wl_list pads;
struct wl_list clients; // wlr_tablet_seat_v2_client::link
struct wl_list clients; // wlr_tablet_seat_v2_client.link
struct wl_listener seat_destroy;
};
@ -30,14 +30,14 @@ struct wlr_tablet_seat_client_v2 {
struct wl_listener seat_client_destroy;
struct wl_list tools; //wlr_tablet_tool_client_v2::link
struct wl_list tablets; //wlr_tablet_client_v2::link
struct wl_list pads; //wlr_tablet_pad_client_v2::link
struct wl_list tools; // wlr_tablet_tool_client_v2.link
struct wl_list tablets; // wlr_tablet_client_v2.link
struct wl_list pads; // wlr_tablet_pad_client_v2.link
};
struct wlr_tablet_client_v2 {
struct wl_list seat_link; // wlr_tablet_seat_client_v2::tablet
struct wl_list tablet_link; // wlr_tablet_v2_tablet::clients
struct wl_list seat_link; // wlr_tablet_seat_client_v2.tablet
struct wl_list tablet_link; // wlr_tablet_v2_tablet.clients
struct wl_client *client;
struct wl_resource *resource;
};

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;

View file

@ -113,10 +113,10 @@ struct wlr_xwm {
struct wlr_xwayland_surface *focus_surface;
// Surfaces in creation order
struct wl_list surfaces; // wlr_xwayland_surface::link
struct wl_list surfaces; // wlr_xwayland_surface.link
// Surfaces in bottom-to-top stacking order, for _NET_CLIENT_LIST_STACKING
struct wl_list surfaces_in_stack_order; // wlr_xwayland_surface::stack_link
struct wl_list unpaired_surfaces; // wlr_xwayland_surface::unpaired_link
struct wl_list surfaces_in_stack_order; // wlr_xwayland_surface.stack_link
struct wl_list unpaired_surfaces; // wlr_xwayland_surface.unpaired_link
struct wl_list pending_startup_ids; // pending_startup_id
struct wlr_drag *drag;