hyprland/surface: add visibleMask

This commit is contained in:
outfoxxed 2025-01-23 14:00:16 -08:00
parent cdaff2967f
commit b289bfa504
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
6 changed files with 230 additions and 36 deletions

View file

@ -7,13 +7,13 @@
namespace qs::hyprland::surface::impl {
HyprlandSurfaceManager::HyprlandSurfaceManager(): QWaylandClientExtensionTemplate(1) {
HyprlandSurfaceManager::HyprlandSurfaceManager(): QWaylandClientExtensionTemplate(2) {
this->initialize();
}
HyprlandSurface*
HyprlandSurfaceManager::createHyprlandExtension(QtWaylandClient::QWaylandWindow* surface) {
return new HyprlandSurface(this->get_hyprland_surface(surface->surface()));
return new HyprlandSurface(this->get_hyprland_surface(surface->surface()), surface);
}
HyprlandSurfaceManager* HyprlandSurfaceManager::instance() {