diff --git a/plugins/linux-capture/xcompcap-main.cpp b/plugins/linux-capture/xcompcap-main.cpp index ac0966248..31f459aa2 100644 --- a/plugins/linux-capture/xcompcap-main.cpp +++ b/plugins/linux-capture/xcompcap-main.cpp @@ -24,6 +24,8 @@ bool XCompcapMain::init() return false; } + XInitThreads(); + int eventBase, errorBase; if (!XCompositeQueryExtension(xdisp, &eventBase, &errorBase)) { blog(LOG_ERROR, "Xcomposite extension not supported");