aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input
diff options
context:
space:
mode:
authorLibravatar Thomas Hebb <tommyhebb@gmail.com>2022-02-21 23:13:18 -0800
committerLibravatar Simon Ser <contact@emersion.fr>2022-02-22 09:50:58 +0100
commitb38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1 (patch)
treed229a110105cc209f7d58903af9052caa76cde94 /sway/input
parentsway/input: use wlr_input_device from input device base (diff)
downloadsway-b38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1.tar.gz
sway-b38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1.tar.zst
sway-b38b845c6311a0d2b2daed7d35d90a6a7eb7bcf1.zip
Remove some erroneous apostrophes in comments
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c2
-rw-r--r--sway/input/seatop_default.c2
2 files changed, 2 insertions, 2 deletions
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 {