hyprland_surface_manager_v1¤
wayland.hyprland_surface_manager_v1 ¤
Manager for hyprland surface objects
This interface allows a client to create hyprland surface objects.
Methods:
-
get_hyprland_surface
–Create a hyprland surface object
-
destroy
–Destroy the hyprland surface manager
error ¤
-
already_constructed
–`wl_surface` already has a hyprland surface object
get_hyprland_surface ¤
get_hyprland_surface(surface: wl_surface) -> hyprland_surface_v1
Create a hyprland surface object
Create a hyprland surface object for the given wayland surface.
If the wl_surface already has an associated hyprland_surface_v1 object, even from a different manager, creation is a protocol error.
Returns:
-
hyprland_surface_v1
(hyprland_surface_v1
) –The created object
destroy ¤
destroy() -> None
Destroy the hyprland surface manager
Destroy the surface manager. This does not destroy existing surface objects.