diff --git a/main.cpp b/main.cpp index 2f98654..19487cb 100644 --- a/main.cpp +++ b/main.cpp @@ -157,7 +157,7 @@ int main(int argc, char* argv[]) prevProcess.name != "" && prevProcess.pid > 0) { - sleep(0.5); //give the process some time to close its other windows + sleep(5); //give the process some time to close its other windows bool hasTopLevelWindow = false; std::vector tlWindows = xinstance.getTopLevelWindows(); for(auto& window : tlWindows)