From: Johan Malm Date: Fri, 24 Sep 2021 20:58:46 +0000 (+0100) Subject: session.c: change "(foo*)" to "(foo *)" X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=104f635b430f77051649f0861be7b960e258e994;p=proto%2Flabwc.git session.c: change "(foo*)" to "(foo *)" --- 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);