aboutsummaryrefslogtreecommitdiff
path: root/backend
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 /backend
parent0fdbdc36c05fb2811a8b7bc5a69e4d104287cff7 (diff)
docs: replace the less commonly used "::" with "."
Diffstat (limited to 'backend')
-rw-r--r--backend/libinput/tablet_tool.c2
-rw-r--r--backend/wayland/tablet_v2.c10
2 files changed, 6 insertions, 6 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) {