fix wm freezes

This commit is contained in:
vaxerski 2021-11-26 20:25:00 +01:00
parent 4b123f09b7
commit 69b10d1527

View file

@ -95,13 +95,13 @@ void KeybindManager::killactive(std::string args) {
void KeybindManager::call(std::string args) {
if (fork() == 0) {
setsid();
//setsid();
execl("/bin/sh", "/bin/sh", "-c", args.c_str(), nullptr);
_exit(0);
}
wait(NULL);
//wait(NULL);
}
void KeybindManager::movewindow(std::string arg) {