diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-09-26 16:41:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-09-26 16:41:39 +0000 |
| commit | 3dd5b1fe6046003bbf9cc36004a19b3aca993342 (patch) | |
| tree | 99f6a77fb3f013b13e0c3dab3e6109987140f925 | |
| parent | input: scale coordinates in wl_pointer_enter() (diff) | |
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.
| -rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |
