mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-12-21 09:20:02 +01:00
nix: add hyprwayland-scanner dep flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
18 lines
No EOL
392 B
C++
18 lines
No EOL
392 B
C++
#pragma once
|
|
|
|
#include "../defines.hpp"
|
|
#include "cursor-shape-v1.hpp"
|
|
|
|
class CCursorShape {
|
|
public:
|
|
CCursorShape(SP<CCWpCursorShapeManagerV1> mgr);
|
|
|
|
void setShape(const wpCursorShapeDeviceV1Shape shape);
|
|
void hideCursor();
|
|
|
|
uint32_t lastCursorSerial = 0;
|
|
|
|
private:
|
|
SP<CCWpCursorShapeManagerV1> mgr = nullptr;
|
|
SP<CCWpCursorShapeDeviceV1> dev = nullptr;
|
|
}; |