From 93c038feb28bb56cd94fff6ea31925cea86b3d21 Mon Sep 17 00:00:00 2001 From: Filippo Gentile Date: Fri, 12 Jul 2024 11:53:16 +0200 Subject: [PATCH] LXQtWMBackend_KWinWayland: announce DesktopSwitch support --- .../wayland/kwin_wayland/lxqtwmbackend_kwinwayland.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panel/backends/wayland/kwin_wayland/lxqtwmbackend_kwinwayland.cpp b/panel/backends/wayland/kwin_wayland/lxqtwmbackend_kwinwayland.cpp index 5eb83d688..de0d57bf4 100644 --- a/panel/backends/wayland/kwin_wayland/lxqtwmbackend_kwinwayland.cpp +++ b/panel/backends/wayland/kwin_wayland/lxqtwmbackend_kwinwayland.cpp @@ -87,6 +87,9 @@ LXQtWMBackend_KWinWayland::LXQtWMBackend_KWinWayland(QObject *parent) : bool LXQtWMBackend_KWinWayland::supportsAction(WId windowId, LXQtTaskBarBackendAction action) const { + if(action == LXQtTaskBarBackendAction::DesktopSwitch) + return true; + LXQtTaskBarPlasmaWindow *window = getWindow(windowId); if(!window) return false;