#include "surface.hpp" #include #include #include #include namespace qs::hyprland::surface::impl { HyprlandSurface::HyprlandSurface(::hyprland_surface_v1* surface) : QtWayland::hyprland_surface_v1(surface) {} HyprlandSurface::~HyprlandSurface() { this->destroy(); } void HyprlandSurface::setOpacity(qreal opacity) { this->set_opacity(wl_fixed_from_double(opacity)); } } // namespace qs::hyprland::surface::impl