From 104f635b430f77051649f0861be7b960e258e994 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 24 Sep 2021 21:58:46 +0100 Subject: [PATCH] session.c: change "(foo*)" to "(foo *)" --- src/config/session.c | 4 ++-- src/server.c | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/config/session.c b/src/config/session.c index a7d6cb23..4372c7eb 100644 --- a/src/config/session.c +++ b/src/config/session.c @@ -88,7 +88,7 @@ session_environment_init(void) return; } read_environment_file(environment); - free((void*)environment); + free((void *)environment); } void @@ -110,5 +110,5 @@ session_autostart_init(void) spawn_async_no_shell(cmd); free(cmd); out: - free((void*)autostart); + free((void *)autostart); } diff --git a/src/server.c b/src/server.c index 02bdff5f..b54783b1 100644 --- a/src/server.c +++ b/src/server.c @@ -216,7 +216,8 @@ server_init(struct server *server) exit(EXIT_FAILURE); } - /* empirically, primary selection doesn't work with Gtk apps unless the + /* + * Empirically, primary selection doesn't work with Gtk apps unless the * device manager is one of the earliest globals to be advertised. All * credit to Wayfire for discovering this, though their symptoms * (crash) are not the same as ours (silently does nothing). When adding @@ -224,7 +225,7 @@ server_init(struct server *server) * middle-button paste still works with any Gtk app of your choice * * https://wayfire.org/2020/08/04/Wayfire-0-5.html - */ + */ wlr_primary_selection_v1_device_manager_create(server->wl_display); output_init(server);