Don't use QPlatformNativeInterface-based XCB::GetRootWindowFromQt

This commit is contained in:
Ilya Fedin 2021-12-08 05:31:30 +04:00 committed by John Preston
parent 4a0ffdc9f5
commit 33b7ac209e

View File

@ -94,7 +94,7 @@ void XCBSkipTaskbar(QWindow *window, bool skip) {
return;
}
const auto root = base::Platform::XCB::GetRootWindowFromQt();
const auto root = base::Platform::XCB::GetRootWindow(connection);
if (!root.has_value()) {
return;
}