aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-06-05 18:15:56 +0200
committerFurkan Sahin <furkan-dev@proton.me>2025-06-05 18:15:56 +0200
commit390d3cb953457ea34a64715dfd5124628b806d32 (patch)
treed5c15f8bca1ab328d8d53fa40d956e3bb5fa635c
parentf2adabbfc787a4b02cd8d30cbb44a03e3abfc8be (diff)
Remove trailing spaces
-rw-r--r--include/sway/server.h2
-rw-r--r--include/sway/tree/container.h2
-rw-r--r--sway/commands/ws_auto_back_and_forth.c2
-rw-r--r--sway/input/keyboard.c4
-rw-r--r--sway/input/seatop_default.c2
-rw-r--r--sway/sway-output.5.scd6
-rw-r--r--sway/sway.5.scd4
7 files changed, 11 insertions, 11 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 1cb72e77..8e859702 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -117,7 +117,7 @@ struct sway_server {
struct wl_listener xdg_activation_v1_new_token;
struct wl_listener request_set_cursor_shape;
-
+
struct wlr_tearing_control_manager_v1 *tearing_control_v1;
struct wl_listener tearing_control_new_object;
struct wl_list tearing_controllers; // sway_tearing_controller::link
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 4fb2d720..e18fd00a 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -103,7 +103,7 @@ struct sway_container {
char *title; // The view's title (unformatted)
char *formatted_title; // The title displayed in the title bar
int title_width;
-
+
char *title_format;
enum sway_container_layout prev_split_layout;
diff --git a/sway/commands/ws_auto_back_and_forth.c b/sway/commands/ws_auto_back_and_forth.c
index e4411c8e..5827c389 100644
--- a/sway/commands/ws_auto_back_and_forth.c
+++ b/sway/commands/ws_auto_back_and_forth.c
@@ -8,7 +8,7 @@ struct cmd_results *cmd_ws_auto_back_and_forth(int argc, char **argv) {
if ((error = checkarg(argc, "workspace_auto_back_and_forth", EXPECTED_EQUAL_TO, 1))) {
return error;
}
- config->auto_back_and_forth =
+ config->auto_back_and_forth =
parse_boolean(argv[0], config->auto_back_and_forth);
return cmd_results_new(CMD_SUCCESS, NULL);
}
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c
index 651c44c5..d1823737 100644
--- a/sway/input/keyboard.c
+++ b/sway/input/keyboard.c
@@ -980,10 +980,10 @@ static void sway_keyboard_group_add(struct sway_keyboard *keyboard) {
wl_signal_add(&sway_group->wlr_group->keyboard.events.modifiers,
&sway_group->keyboard_modifiers);
sway_group->keyboard_modifiers.notify = handle_keyboard_group_modifiers;
-
+
wl_signal_add(&sway_group->wlr_group->events.enter, &sway_group->enter);
sway_group->enter.notify = handle_keyboard_group_enter;
-
+
wl_signal_add(&sway_group->wlr_group->events.leave, &sway_group->leave);
sway_group->leave.notify = handle_keyboard_group_leave;
return;
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c
index 6a7dddd9..a2e99d2b 100644
--- a/sway/input/seatop_default.c
+++ b/sway/input/seatop_default.c
@@ -793,7 +793,7 @@ static void handle_pointer_axis(struct sway_seat *seat,
if (!handled) {
wlr_seat_pointer_notify_axis(cursor->seat->wlr_seat, event->time_msec,
- event->orientation, scroll_factor * event->delta,
+ event->orientation, scroll_factor * event->delta,
roundf(scroll_factor * event->delta_discrete), event->source,
event->relative_direction);
}
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd
index dc16c257..dfe0d678 100644
--- a/sway/sway-output.5.scd
+++ b/sway/sway-output.5.scd
@@ -196,9 +196,9 @@ must be separated by one space. For example:
screen tearing is allowed.
With immediate page flips, frames from the client are presented as soon
- as possible instead of synchronizing with the monitor's vblank interval
- (VSync).
-
+ as possible instead of synchronizing with the monitor's vblank interval
+ (VSync).
+
It is recommended to set *max_render_time* to *off*. In that case a page flip
happens as soon as a client updates. Otherwise, tearing will only happen if
rendering takes longer than the configured milliseconds before the next
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 9bc03c9d..dbdf1f1a 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -228,8 +228,8 @@ set|plus|minus|toggle <amount>
regardless of the tearing hints.
This setting only has an effect if tearing is allowed on the output through
- the per-output *allow_tearing* setting. See *sway-output*(5)
- for further details.
+ the per-output *allow_tearing* setting. See *sway-output*(5) for further
+ details.
*move* left|right|up|down [<px> px]
Moves the focused container in the direction specified. The optional _px_