]> git.mdlowis.com Git - proto/labwc.git/commitdiff
session.c: change "(foo*)" to "(foo *)"
authorJohan Malm <jgm323@gmail.com>
Fri, 24 Sep 2021 20:58:46 +0000 (21:58 +0100)
committerJohan Malm <jgm323@gmail.com>
Fri, 24 Sep 2021 20:58:46 +0000 (21:58 +0100)
src/config/session.c
src/server.c

index a7d6cb23c7c01f23eb30788f25559acbb644988a..4372c7ebf37a0da67ac4e57fff37d1cef2d46677 100644 (file)
@@ -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);
 }
index 02bdff5f3d26842b97b3c42578038b35e420187c..b54783b190626a28ec1c12d048cf9461126f4b03 100644 (file)
@@ -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);