mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
session.c: change "(foo*)" to "(foo *)"
This commit is contained in:
parent
ebb632419b
commit
104f635b43
2 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue