mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
service/tray: forward Wayland activation tokens on primary clicks
This commit is contained in:
1 parent
5c4f4c7148
commit
3c5323bcf5
11 files changed
+181
-1
No files matched your search
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user