commit 6816b51c86846afc5eaa1dea2541410058347a6e
parent 9fb9e9f7d555ae7504b8ae53250020797d70e887
Author: Simon Ser <contact@emersion.fr>
Date: Thu, 5 Jun 2025 18:15:56 +0200
Remove trailing spaces
Diffstat:
7 files changed, 11 insertions(+), 11 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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_