Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
CompositorLost.h File Reference
#include <cstdint>
#include <functional>
#include <phosphorwayland_export.h>

Go to the source code of this file.

Namespaces

namespace  PhosphorWayland
 

Typedefs

using PhosphorWayland::CompositorLostCallback = std::function< void()>
 Public seam over the QPA plugin's wlr-layer-shell global-removal signal.
 
using PhosphorWayland::CompositorLostCookie = std::uint64_t
 

Functions

PHOSPHORWAYLAND_EXPORT CompositorLostCookie PhosphorWayland::addCompositorLostCallback (CompositorLostCallback cb)
 Register a callback fired when the compositor removes the zwlr_layer_shell_v1 global.
 
PHOSPHORWAYLAND_EXPORT void PhosphorWayland::removeCompositorLostCallback (CompositorLostCookie cookie)
 Unregister a callback previously returned by addCompositorLostCallback.