mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-24 22:15:59 +01:00
fix wm freezes
This commit is contained in:
parent
4b123f09b7
commit
69b10d1527
1 changed files with 2 additions and 2 deletions
|
@ -95,13 +95,13 @@ void KeybindManager::killactive(std::string args) {
|
||||||
void KeybindManager::call(std::string args) {
|
void KeybindManager::call(std::string args) {
|
||||||
|
|
||||||
if (fork() == 0) {
|
if (fork() == 0) {
|
||||||
setsid();
|
//setsid();
|
||||||
|
|
||||||
execl("/bin/sh", "/bin/sh", "-c", args.c_str(), nullptr);
|
execl("/bin/sh", "/bin/sh", "-c", args.c_str(), nullptr);
|
||||||
|
|
||||||
_exit(0);
|
_exit(0);
|
||||||
}
|
}
|
||||||
wait(NULL);
|
//wait(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void KeybindManager::movewindow(std::string arg) {
|
void KeybindManager::movewindow(std::string arg) {
|
||||||
|
|
Loading…
Reference in a new issue