mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add missing returns to skip taskbar Linux abstraction
This commit is contained in:
@@ -139,11 +139,13 @@ void XCBSetDesktopFileName(QWindow *window) {
|
||||
void SkipTaskbar(QWindow *window, bool skip) {
|
||||
if (const auto integration = WaylandIntegration::Instance()) {
|
||||
integration->skipTaskbar(window, skip);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
if (IsX11()) {
|
||||
XCBSkipTaskbar(window, skip);
|
||||
return;
|
||||
}
|
||||
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||
}
|
||||
|
Reference in New Issue
Block a user