mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-17 07:15:57 +01:00
16 lines
No EOL
403 B
C++
16 lines
No EOL
403 B
C++
#pragma once
|
|
|
|
#include <wayland-client.h>
|
|
#include "cursor-shape-v1-protocol.h"
|
|
|
|
class CCursorShape {
|
|
public:
|
|
CCursorShape(wp_cursor_shape_manager_v1* mgr);
|
|
|
|
void setShape(const uint32_t serial, const wp_cursor_shape_device_v1_shape shape);
|
|
void hideCursor(const uint32_t serial);
|
|
|
|
private:
|
|
wp_cursor_shape_manager_v1* mgr = nullptr;
|
|
wp_cursor_shape_device_v1* dev = nullptr;
|
|
}; |