increase timeout
This commit is contained in:
parent
f3e5f385a9
commit
f32b7bc869
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
|
@ -157,7 +157,7 @@ int main(int argc, char* argv[])
|
||||||
prevProcess.name != "" &&
|
prevProcess.name != "" &&
|
||||||
prevProcess.pid > 0)
|
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;
|
bool hasTopLevelWindow = false;
|
||||||
std::vector<Window> tlWindows = xinstance.getTopLevelWindows();
|
std::vector<Window> tlWindows = xinstance.getTopLevelWindows();
|
||||||
for(auto& window : tlWindows)
|
for(auto& window : tlWindows)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue