mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Remove some erroneous apostrophes in comments
This commit is contained in:
parent
85d1c98476
commit
b38b845c63
3 changed files with 3 additions and 3 deletions
|
@ -364,7 +364,7 @@ bool container_is_sticky_or_child(struct sway_container *con);
|
||||||
* This will destroy pairs of redundant H/V splits
|
* This will destroy pairs of redundant H/V splits
|
||||||
* e.g. H[V[H[app app]] app] -> H[app app app]
|
* e.g. H[V[H[app app]] app] -> H[app app app]
|
||||||
* The middle "V[H[" are eliminated by a call to container_squash
|
* 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:
|
* This function is roughly equivalent to i3's tree_flatten here:
|
||||||
* https://github.com/i3/i3/blob/1f0c628cde40cf87371481041b7197344e0417c6/src/tree.c#L651
|
* https://github.com/i3/i3/blob/1f0c628cde40cf87371481041b7197344e0417c6/src/tree.c#L651
|
||||||
|
|
|
@ -245,7 +245,7 @@ static void handle_seat_node_destroy(struct wl_listener *listener, void *data) {
|
||||||
seat_node_destroy(seat_node);
|
seat_node_destroy(seat_node);
|
||||||
// If an unmanaged or layer surface is focused when an output gets
|
// If an unmanaged or layer surface is focused when an output gets
|
||||||
// disabled and an empty workspace on the output was focused by the
|
// 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.
|
// value of seat->workspace.
|
||||||
if (seat->workspace == node->sway_workspace) {
|
if (seat->workspace == node->sway_workspace) {
|
||||||
struct sway_node *node = seat_get_focus_inactive(seat, &root->node);
|
struct sway_node *node = seat_get_focus_inactive(seat, &root->node);
|
||||||
|
|
|
@ -474,7 +474,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
|
||||||
seat_set_focus(seat, node);
|
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) {
|
if (!mod_pressed && config->tiling_drag_threshold > 0) {
|
||||||
seatop_begin_move_tiling_threshold(seat, cont);
|
seatop_begin_move_tiling_threshold(seat, cont);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue