Don't use QPlatformNativeInterface-based XCB::GetRootWindowFromQt
This commit is contained in:
parent
4a0ffdc9f5
commit
33b7ac209e
|
@ -94,7 +94,7 @@ void XCBSkipTaskbar(QWindow *window, bool skip) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto root = base::Platform::XCB::GetRootWindowFromQt();
|
const auto root = base::Platform::XCB::GetRootWindow(connection);
|
||||||
if (!root.has_value()) {
|
if (!root.has_value()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue