mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Don't use QPlatformNativeInterface-based XCB::GetRootWindowFromQt
This commit is contained in:
parent
4a0ffdc9f5
commit
33b7ac209e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue