mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
main: unset DESKTOP_STARTUP_ID
This is used in the desktop startup notification protocol. We don't support it (is it even used on Wayland?), but need to ensure programs launced from within foot doesn't inherit it.
This commit is contained in:
parent
f862f173f5
commit
3dd5b1fe60
1 changed files with 4 additions and 0 deletions
4
main.c
4
main.c
|
|
@ -407,6 +407,10 @@ main(int argc, char *const *argv)
|
|||
{
|
||||
int ret = EXIT_FAILURE;
|
||||
|
||||
/* Startup notifications; we don't support it, but must ensure we
|
||||
* don't pass this on to programs launched by us */
|
||||
unsetenv("DESKTOP_STARTUP_ID");
|
||||
|
||||
struct config conf = {NULL};
|
||||
if (!config_load(&conf))
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue