service/tray: forward Wayland activation tokens on primary clicks

This commit is contained in:
Domen Kožar authored and outfoxxed committed 2026-10-21 23:47:48 -07:00
1 parent 5c4f4c7148
commit 3c5323bcf5
11 files changed
+181 -1

No files matched your search

+5
View File
@@ -20,6 +20,7 @@
#include <wayland-xdg-shell-client-protocol.h>
#include "../../window/panelinterface.hpp"
#include "../activation.hpp"
#include "shell_integration.hpp"
#include "wlr_layershell.hpp"
@@ -130,6 +131,10 @@ LayerSurfaceBridge* LayerSurfaceBridge::init(QWindow* window, LayerSurfaceState
return bridge;
}
void LayerSurface::requestXdgActivationToken(quint32 serial) {
activation::requestXdgActivationToken(this->window(), serial);
}
LayerSurface::LayerSurface(LayerShellIntegration* shell, QtWaylandClient::QWaylandWindow* window)
: QtWaylandClient::QWaylandShellSurface(window) {