fix of crash when first using the lpugin

This commit is contained in:
WarmUpTill 2017-10-29 00:41:31 +02:00 committed by GitHub
parent f143ee0bfc
commit 6d024b459e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,6 @@ struct IdleData
struct SwitcherData
{
thread th;
@ -183,7 +182,14 @@ struct SwitcherData
FileIOData fileIO;
IdleData idleData;
vector<string> ignoreIdleWindows;
vector<string> functionNamesByPriority;
vector<string> functionNamesByPriority = vector<string>{
string(DEFAULT_PRIORITY_0),
string(DEFAULT_PRIORITY_1),
string(DEFAULT_PRIORITY_2),
string(DEFAULT_PRIORITY_3),
string(DEFAULT_PRIORITY_4),
string(DEFAULT_PRIORITY_5),
};
void Thread();
void Start();