diff options
author | Thomas Hebb <tommyhebb@gmail.com> | 2022-02-21 23:13:18 -0800 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-02-22 09:50:58 +0100 |
commit | b38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1 (patch) | |
tree | d229a110105cc209f7d58903af9052caa76cde94 | |
parent | sway/input: use wlr_input_device from input device base (diff) | |
download | sway-b38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1.tar.gz sway-b38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1.tar.zst sway-b38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1.zip |
Remove some erroneous apostrophes in comments
-rw-r--r-- | include/sway/tree/container.h | 2 | ||||
-rw-r--r-- | sway/input/seat.c | 2 | ||||
-rw-r--r-- | sway/input/seatop_default.c | 2 |
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); | |||
364 | * This will destroy pairs of redundant H/V splits | 364 | * This will destroy pairs of redundant H/V splits |
365 | * e.g. H[V[H[app app]] app] -> H[app app app] | 365 | * e.g. H[V[H[app app]] app] -> H[app app app] |
366 | * The middle "V[H[" are eliminated by a call to container_squash | 366 | * The middle "V[H[" are eliminated by a call to container_squash |
367 | * on the V[ con. It's grandchildren are added to it's parent. | 367 | * on the V[ con. It's grandchildren are added to its parent. |
368 | * | 368 | * |
369 | * This function is roughly equivalent to i3's tree_flatten here: | 369 | * This function is roughly equivalent to i3's tree_flatten here: |
370 | * https://github.com/i3/i3/blob/1f0c628cde40cf87371481041b7197344e0417c6/src/tree.c#L651 | 370 | * 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) { | |||
245 | seat_node_destroy(seat_node); | 245 | seat_node_destroy(seat_node); |
246 | // If an unmanaged or layer surface is focused when an output gets | 246 | // If an unmanaged or layer surface is focused when an output gets |
247 | // disabled and an empty workspace on the output was focused by the | 247 | // disabled and an empty workspace on the output was focused by the |
248 | // seat, the seat needs to refocus it's focus inactive to update the | 248 | // seat, the seat needs to refocus its focus inactive to update the |
249 | // value of seat->workspace. | 249 | // value of seat->workspace. |
250 | if (seat->workspace == node->sway_workspace) { | 250 | if (seat->workspace == node->sway_workspace) { |
251 | struct sway_node *node = seat_get_focus_inactive(seat, &root->node); | 251 | 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, | |||
474 | seat_set_focus(seat, node); | 474 | seat_set_focus(seat, node); |
475 | } | 475 | } |
476 | 476 | ||
477 | // If moving a container by it's title bar, use a threshold for the drag | 477 | // If moving a container by its title bar, use a threshold for the drag |
478 | if (!mod_pressed && config->tiling_drag_threshold > 0) { | 478 | if (!mod_pressed && config->tiling_drag_threshold > 0) { |
479 | seatop_begin_move_tiling_threshold(seat, cont); | 479 | seatop_begin_move_tiling_threshold(seat, cont); |
480 | } else { | 480 | } else { |