2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Adapt for XCB::IsSupportedByWM changes

This commit is contained in:
Ilya Fedin
2022-05-20 17:11:31 +04:00
committed by John Preston
parent 66b9d70993
commit 088cca7452

View File

@@ -436,6 +436,7 @@ bool SkipTaskbarSupported() {
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
if (IsX11()) {
return base::Platform::XCB::IsSupportedByWM(
base::Platform::XCB::GetConnectionFromQt(),
"_NET_WM_STATE_SKIP_TASKBAR");
}
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION