aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-10-02 22:06:44 +0300
committerKirill Primak <vyivel@eclair.cafe>2023-10-02 22:10:16 +0300
commita09d6494397bdd28a3254d2e646212afb5a3049c (patch)
tree3bf4525bd15138b48ddbef73f72cb5f0c4b45a7b
parent0fdbdc36c05fb2811a8b7bc5a69e4d104287cff7 (diff)
docs: replace the less commonly used "::" with "."
-rw-r--r--backend/libinput/tablet_tool.c2
-rw-r--r--backend/wayland/tablet_v2.c10
-rw-r--r--include/backend/libinput.h2
-rw-r--r--include/backend/wayland.h2
-rw-r--r--include/backend/x11.h12
-rw-r--r--include/render/allocator/drm_dumb.h4
-rw-r--r--include/types/wlr_tablet_v2.h16
-rw-r--r--include/wlr/types/wlr_compositor.h2
-rw-r--r--include/wlr/types/wlr_drm_lease_v1.h2
-rw-r--r--include/wlr/types/wlr_output.h4
-rw-r--r--include/wlr/types/wlr_seat.h2
-rw-r--r--include/wlr/types/wlr_xcursor_manager.h2
-rw-r--r--include/wlr/xwayland/xwayland.h4
-rw-r--r--include/xwayland/xwm.h6
-rw-r--r--types/tablet_v2/wlr_tablet_v2.c2
-rw-r--r--types/wlr_cursor.c4
-rw-r--r--types/wlr_keyboard_group.c4
-rw-r--r--types/wlr_presentation_time.c2
-rw-r--r--types/wlr_text_input_v3.c2
19 files changed, 42 insertions, 42 deletions
diff --git a/backend/libinput/tablet_tool.c b/backend/libinput/tablet_tool.c
index 1962fc82..1a50f15f 100644
--- a/backend/libinput/tablet_tool.c
+++ b/backend/libinput/tablet_tool.c
@@ -10,7 +10,7 @@
struct tablet_tool {
struct wlr_tablet_tool wlr_tool;
struct libinput_tablet_tool *handle;
- struct wl_list link; // wlr_libinput_input_device::tablet_tools
+ struct wl_list link; // wlr_libinput_input_device.tablet_tools
};
const struct wlr_tablet_impl libinput_tablet_impl = {
diff --git a/backend/wayland/tablet_v2.c b/backend/wayland/tablet_v2.c
index b2b4a779..357c74c6 100644
--- a/backend/wayland/tablet_v2.c
+++ b/backend/wayland/tablet_v2.c
@@ -39,7 +39,7 @@ struct tablet_tool {
};
struct tablet_pad_ring {
- struct wl_list link; // tablet_pad_group::rings
+ struct wl_list link; // tablet_pad_group.rings
/* static */
struct zwp_tablet_pad_ring_v2 *ring;
struct tablet_pad_group *group;
@@ -52,7 +52,7 @@ struct tablet_pad_ring {
};
struct tablet_pad_strip {
- struct wl_list link; // tablet_pad_group::strips
+ struct wl_list link; // tablet_pad_group.strips
struct zwp_tablet_pad_strip_v2 *strip;
struct tablet_pad_group *group;
size_t index;
@@ -69,8 +69,8 @@ struct tablet_pad_group {
struct wlr_tablet_pad_group group;
- struct wl_list rings; // tablet_pad_ring::link
- struct wl_list strips; // tablet_pad_strips::link
+ struct wl_list rings; // tablet_pad_ring.link
+ struct wl_list strips; // tablet_pad_strips.link
};
static void handle_tablet_pad_ring_source(void *data,
@@ -257,7 +257,7 @@ static void handle_tablet_pad_group_mode_switch(void *data,
}
static void destroy_tablet_pad_group(struct tablet_pad_group *group) {
- /* No need to remove the ::link on strips rings as long as we do *not*
+ /* No need to remove the link on strips rings as long as we do *not*
* wl_list_remove on the wl_groups ring/strip attributes here */
struct tablet_pad_ring *ring, *tmp_ring;
wl_list_for_each_safe(ring, tmp_ring, &group->rings, link) {
diff --git a/include/backend/libinput.h b/include/backend/libinput.h
index d469eb7c..73a52754 100644
--- a/include/backend/libinput.h
+++ b/include/backend/libinput.h
@@ -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 {
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index ad04c348..a51595ec 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -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;
diff --git a/include/backend/x11.h b/include/backend/x11.h
index f66fed2a..06834c1c 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -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;
};
diff --git a/include/render/allocator/drm_dumb.h b/include/render/allocator/drm_dumb.h
index 7e37acfb..23c150bc 100644
--- a/include/render/allocator/drm_dumb.h
+++ b/include/render/allocator/drm_dumb.h
@@ -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;
};
diff --git a/include/types/wlr_tablet_v2.h b/include/types/wlr_tablet_v2.h
index d2c4a212..2e54adcb 100644
--- a/include/types/wlr_tablet_v2.h
+++ b/include/types/wlr_tablet_v2.h
@@ -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;
};
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h
index 4c98c474..d67ce1c3 100644
--- a/include/wlr/types/wlr_compositor.h
+++ b/include/wlr/types/wlr_compositor.h
@@ -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;
};
diff --git a/include/wlr/types/wlr_drm_lease_v1.h b/include/wlr/types/wlr_drm_lease_v1.h
index 4afa11e1..cda02a10 100644
--- a/include/wlr/types/wlr_drm_lease_v1.h
+++ b/include/wlr/types/wlr_drm_lease_v1.h
@@ -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;
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index de7ea332..95ffc670 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -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;
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index b6d55372..2a5da726 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -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);
};
diff --git a/include/wlr/types/wlr_xcursor_manager.h b/include/wlr/types/wlr_xcursor_manager.h
index 32636c4e..53993159 100644
--- a/include/wlr/types/wlr_xcursor_manager.h
+++ b/include/wlr/types/wlr_xcursor_manager.h
@@ -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
};
/**
diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h
index 06ea39c1..6761eff0 100644
--- a/include/wlr/xwayland/xwayland.h
+++ b/include/wlr/xwayland/xwayland.h
@@ -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;
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index 3d540522..7db5d6cb 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -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;
diff --git a/types/tablet_v2/wlr_tablet_v2.c b/types/tablet_v2/wlr_tablet_v2.c
index f4a7e5a1..6ae68211 100644
--- a/types/tablet_v2/wlr_tablet_v2.c
+++ b/types/tablet_v2/wlr_tablet_v2.c
@@ -22,7 +22,7 @@ struct wlr_tablet_manager_client_v2 {
struct wl_resource *resource;
struct wlr_tablet_manager_v2 *manager;
- struct wl_list tablet_seats; // wlr_tablet_seat_client_v2::link
+ struct wl_list tablet_seats; // wlr_tablet_seat_client_v2.link
};
static void tablet_seat_destroy(struct wlr_tablet_seat_v2 *seat) {
diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c
index fb16c6cd..207eb0e4 100644
--- a/types/wlr_cursor.c
+++ b/types/wlr_cursor.c
@@ -73,8 +73,8 @@ struct wlr_cursor_output_cursor {
struct wlr_cursor_state {
struct wlr_cursor cursor;
- struct wl_list devices; // wlr_cursor_device::link
- struct wl_list output_cursors; // wlr_cursor_output_cursor::link
+ struct wl_list devices; // wlr_cursor_device.link
+ struct wl_list output_cursors; // wlr_cursor_output_cursor.link
struct wlr_output_layout *layout;
struct wlr_output *mapped_output;
struct wlr_box mapped_box; // empty if unset
diff --git a/types/wlr_keyboard_group.c b/types/wlr_keyboard_group.c
index ac8be385..e1cbbc13 100644
--- a/types/wlr_keyboard_group.c
+++ b/types/wlr_keyboard_group.c
@@ -19,13 +19,13 @@ struct keyboard_group_device {
struct wl_listener keymap;
struct wl_listener repeat_info;
struct wl_listener destroy;
- struct wl_list link; // wlr_keyboard_group::devices
+ struct wl_list link; // wlr_keyboard_group.devices
};
struct keyboard_group_key {
uint32_t keycode;
size_t count;
- struct wl_list link; // wlr_keyboard_group::keys
+ struct wl_list link; // wlr_keyboard_group.keys
};
static void keyboard_set_leds(struct wlr_keyboard *kb, uint32_t leds) {
diff --git a/types/wlr_presentation_time.c b/types/wlr_presentation_time.c
index f13f3179..956e5649 100644
--- a/types/wlr_presentation_time.c
+++ b/types/wlr_presentation_time.c
@@ -17,7 +17,7 @@ struct wlr_presentation_surface_state {
struct wlr_presentation_surface {
struct wlr_presentation_surface_state current, pending;
- struct wlr_addon addon; // wlr_surface::addons
+ struct wlr_addon addon; // wlr_surface.addons
struct wl_listener surface_commit;
};
diff --git a/types/wlr_text_input_v3.c b/types/wlr_text_input_v3.c
index 138eb9c2..46598366 100644
--- a/types/wlr_text_input_v3.c
+++ b/types/wlr_text_input_v3.c
@@ -68,7 +68,7 @@ static void wlr_text_input_destroy(struct wlr_text_input_v3 *text_input) {
wl_signal_emit_mutable(&text_input->events.destroy, text_input);
text_input_clear_focused_surface(text_input);
wl_list_remove(&text_input->seat_destroy.link);
- // remove from manager::text_inputs
+ // remove from manager.text_inputs
wl_list_remove(&text_input->link);
free(text_input->current.surrounding.text);
free(text_input->pending.surrounding.text);