Skip to content

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:

error ¤

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:

destroy ¤

destroy() -> None

Destroy the hyprland surface manager

Destroy the surface manager. This does not destroy existing surface objects.