mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 06:29:48 +01:00
stuf3
This commit is contained in:
parent
475abb2ff2
commit
8a21583a8e
1 changed files with 1 additions and 0 deletions
|
@ -892,6 +892,7 @@ uint64_t CKeybindManager::spawnRaw(std::string args) {
|
||||||
for (auto& e : HLENV) {
|
for (auto& e : HLENV) {
|
||||||
setenv(e.first.c_str(), e.second.c_str(), 1);
|
setenv(e.first.c_str(), e.second.c_str(), 1);
|
||||||
}
|
}
|
||||||
|
setenv("WAYLAND_DISPLAY", g_pCompositor->m_szWLDisplaySocket.c_str(), 1);
|
||||||
close(socket[0]);
|
close(socket[0]);
|
||||||
close(socket[1]);
|
close(socket[1]);
|
||||||
execl("/bin/sh", "/bin/sh", "-c", args.c_str(), nullptr);
|
execl("/bin/sh", "/bin/sh", "-c", args.c_str(), nullptr);
|
||||||
|
|
Loading…
Reference in a new issue