mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-24 18:29:48 +01:00
stuf3
This commit is contained in:
parent
3356294067
commit
95c17b2063
1 changed files with 1 additions and 0 deletions
|
@ -892,6 +892,7 @@ uint64_t CKeybindManager::spawnRaw(std::string args) {
|
|||
for (auto& e : HLENV) {
|
||||
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[1]);
|
||||
execl("/bin/sh", "/bin/sh", "-c", args.c_str(), nullptr);
|
||||
|
|
Loading…
Reference in a new issue