mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add missing returns to skip taskbar Linux abstraction
This commit is contained in:
parent
1148a2e144
commit
4755be4ace
1 changed files with 2 additions and 0 deletions
|
@ -139,11 +139,13 @@ void XCBSetDesktopFileName(QWindow *window) {
|
||||||
void SkipTaskbar(QWindow *window, bool skip) {
|
void SkipTaskbar(QWindow *window, bool skip) {
|
||||||
if (const auto integration = WaylandIntegration::Instance()) {
|
if (const auto integration = WaylandIntegration::Instance()) {
|
||||||
integration->skipTaskbar(window, skip);
|
integration->skipTaskbar(window, skip);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||||
if (IsX11()) {
|
if (IsX11()) {
|
||||||
XCBSkipTaskbar(window, skip);
|
XCBSkipTaskbar(window, skip);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue