2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-07 01:55:12 +00:00

Use new Platform::IsX11

This commit is contained in:
Ilya Fedin
2021-02-24 20:45:15 +04:00
committed by John Preston
parent 28c918a36a
commit 9b88f816d6
2 changed files with 3 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ bool XCBSkipTaskbar(QWindow *window, bool set) {
bool SkipTaskbar(QWindow *window, bool set) {
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
if (!IsWayland()) {
if (IsX11()) {
return XCBSkipTaskbar(window, set);
}
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION