diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-01-24 16:25:18 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-01-24 16:25:18 +0000 |
| commit | e3d1743722376aa96538857d4a182a5f5527583c (patch) | |
| tree | cd13fa9efb10e3372280fc7b5efdd9ec4d8568d0 /src/Compositor.cpp | |
| parent | 63babcba36f5506b4da6ee7f92f2491c6e1ff726 (diff) | |
Revert "use spawn in dbus-env activation"
This reverts commit 63babcba36f5506b4da6ee7f92f2491c6e1ff726.
oops.
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index e2bce25b..d9f45309 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -387,7 +387,7 @@ void CCompositor::startCompositor() { signal(SIGPIPE, SIG_IGN); if (m_sWLRSession /* Session-less Hyprland usually means a nest, don't update the env in that case */ && fork() == 0) - g_pKeybindManager->spawn("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE"); + execl("/bin/sh", "/bin/sh", "-c", "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE", nullptr); Debug::log(LOG, "Running on WAYLAND_DISPLAY: %s", m_szWLDisplaySocket.c_str()); |
