aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hebb <tommyhebb@gmail.com>2022-02-21 23:13:18 -0800
committerSimon Ser <contact@emersion.fr>2022-02-22 09:50:58 +0100
commitb38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1 (patch)
treed229a110105cc209f7d58903af9052caa76cde94
parent85d1c98476b653368e9a9f41650eb6e2f6aac596 (diff)
Remove some erroneous apostrophes in comments
-rw-r--r--include/sway/tree/container.h2
-rw-r--r--sway/input/seat.c2
-rw-r--r--sway/input/seatop_default.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index a5f74de9..751612e2 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -364,7 +364,7 @@ bool container_is_sticky_or_child(struct sway_container *con);
* This will destroy pairs of redundant H/V splits
* e.g. H[V[H[app app]] app] -> H[app app app]
* The middle "V[H[" are eliminated by a call to container_squash
- * on the V[ con. It's grandchildren are added to it's parent.
+ * on the V[ con. It's grandchildren are added to its parent.
*
* This function is roughly equivalent to i3's tree_flatten here:
* https://github.com/i3/i3/blob/1f0c628cde40cf87371481041b7197344e0417c6/src/tree.c#L651
diff --git a/sway/input/seat.c b/sway/input/seat.c
index ce933b66..a81a88a8 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -245,7 +245,7 @@ static void handle_seat_node_destroy(struct wl_listener *listener, void *data) {
seat_node_destroy(seat_node);
// If an unmanaged or layer surface is focused when an output gets
// disabled and an empty workspace on the output was focused by the
- // seat, the seat needs to refocus it's focus inactive to update the
+ // seat, the seat needs to refocus its focus inactive to update the
// value of seat->workspace.
if (seat->workspace == node->sway_workspace) {
struct sway_node *node = seat_get_focus_inactive(seat, &root->node);
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c
index 4320a3b4..969352bf 100644
--- a/sway/input/seatop_default.c
+++ b/sway/input/seatop_default.c
@@ -474,7 +474,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
seat_set_focus(seat, node);
}
- // If moving a container by it's title bar, use a threshold for the drag
+ // If moving a container by its title bar, use a threshold for the drag
if (!mod_pressed && config->tiling_drag_threshold > 0) {
seatop_begin_move_tiling_threshold(seat, cont);
} else {