greatly improved WM / DE detection
This commit is contained in:
1 parent
e3f3699b26
commit
f3c8ecacbb
8 files changed
+370
-276
No files matched your search
@@ -26,9 +26,9 @@ static inline void* detectGTK4ThreadMain(void* instance)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline void* detectWMThreadMain(void* instance)
|
||||
static inline void* detectWMDEThreadMain(void* instance)
|
||||
{
|
||||
ffDetectWM((FFinstance*)instance);
|
||||
ffDetectWMDE((FFinstance*)instance);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -40,9 +40,9 @@ static inline void* detectTerminalThreadMain(void* instance)
|
||||
|
||||
static inline void* startThreadsThreadMain(void* instance)
|
||||
{
|
||||
pthread_t wmThread;
|
||||
pthread_create(&wmThread, NULL, detectWMThreadMain, instance);
|
||||
pthread_detach(wmThread);
|
||||
pthread_t wmdeThread;
|
||||
pthread_create(&wmdeThread, NULL, detectWMDEThreadMain, instance);
|
||||
pthread_detach(wmdeThread);
|
||||
|
||||
pthread_t gtk2Thread;
|
||||
pthread_create(>k2Thread, NULL, detectGTK2ThreadMain, instance);
|
||||
|
||||
Reference in new issue
Block a user