forked from quickshell/quickshell
hyprland/surface: add hyprland surface opacity support
This commit is contained in:
parent
08836ca1f3
commit
3a40174ed6
14 changed files with 476 additions and 2 deletions
22
src/wayland/hyprland/surface/manager.hpp
Normal file
22
src/wayland/hyprland/surface/manager.hpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include <private/qwaylandwindow_p.h>
|
||||
#include <qwayland-hyprland-surface-v1.h>
|
||||
#include <qwaylandclientextension.h>
|
||||
|
||||
#include "surface.hpp"
|
||||
|
||||
namespace qs::hyprland::surface::impl {
|
||||
|
||||
class HyprlandSurfaceManager
|
||||
: public QWaylandClientExtensionTemplate<HyprlandSurfaceManager>
|
||||
, public QtWayland::hyprland_surface_manager_v1 {
|
||||
public:
|
||||
explicit HyprlandSurfaceManager();
|
||||
|
||||
HyprlandSurface* createHyprlandExtension(QtWaylandClient::QWaylandWindow* surface);
|
||||
|
||||
static HyprlandSurfaceManager* instance();
|
||||
};
|
||||
|
||||
} // namespace qs::hyprland::surface::impl
|
||||
Loading…
Add table
Add a link
Reference in a new issue