tdesktop/Telegram/SourceFiles/platform/linux/linux_wayland_integration_d...

42 lines
934 B
C++
Raw Normal View History

2020-11-11 23:18:18 +00:00
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "platform/linux/linux_wayland_integration.h"
#include "base/platform/base_platform_info.h"
2020-11-11 23:18:18 +00:00
namespace Platform {
namespace internal {
2021-07-25 21:30:56 +00:00
struct WaylandIntegration::Private {
};
2020-11-11 23:18:18 +00:00
WaylandIntegration::WaylandIntegration() {
}
WaylandIntegration::~WaylandIntegration() = default;
2020-11-11 23:18:18 +00:00
WaylandIntegration *WaylandIntegration::Instance() {
if (!IsWayland()) return nullptr;
2020-11-11 23:18:18 +00:00
static WaylandIntegration instance;
return &instance;
}
QString WaylandIntegration::nativeHandle(QWindow *window) {
return {};
}
bool WaylandIntegration::skipTaskbarSupported() {
return false;
}
void WaylandIntegration::skipTaskbar(QWindow *window, bool skip) {
}
2020-11-11 23:18:18 +00:00
} // namespace internal
} // namespace Platform