2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-18 13:59:46 +00:00

Destroy Wayland integration before Wayland disconnection

This commit is contained in:
Ilya Fedin
2023-05-25 09:36:30 +04:00
committed by John Preston
parent e9787170d5
commit fc66a0eea8
2 changed files with 13 additions and 21 deletions

View File

@@ -12,15 +12,15 @@ namespace internal {
class WaylandIntegration {
public:
WaylandIntegration();
~WaylandIntegration();
[[nodiscard]] static WaylandIntegration *Instance();
[[nodiscard]] bool skipTaskbarSupported();
void skipTaskbar(QWindow *window, bool skip);
private:
WaylandIntegration();
~WaylandIntegration();
struct Private;
const std::unique_ptr<Private> _private;
};