2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Stop using the plasma-shell protocol

Looks like this isn't really correct in combination with xdg-shell
This commit is contained in:
Ilya Fedin
2024-04-21 00:54:48 +04:00
committed by John Preston
parent 3d994b58a0
commit 9046b2cafb
8 changed files with 0 additions and 259 deletions

View File

@@ -12,7 +12,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "base/platform/linux/base_linux_dbus_utilities.h"
#include "base/platform/linux/base_linux_xdp_utilities.h"
#include "ui/platform/ui_platform_window_title.h"
#include "platform/linux/linux_wayland_integration.h"
#include "lang/lang_keys.h"
#include "mainwindow.h"
#include "storage/localstorage.h"
@@ -53,7 +52,6 @@ namespace {
using namespace gi::repository;
namespace GObject = gi::repository::GObject;
using namespace Platform;
using Platform::internal::WaylandIntegration;
void PortalAutostart(bool enabled, Fn<void(bool)> done) {
const auto executable = ExecutablePathForShortcuts();
@@ -563,10 +561,6 @@ bool TrayIconSupported() {
}
bool SkipTaskbarSupported() {
if (const auto integration = WaylandIntegration::Instance()) {
return integration->skipTaskbarSupported();
}
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
if (IsX11()) {
return base::Platform::XCB::IsSupportedByWM(