summaryrefslogtreecommitdiff
path: root/src/helpers/WLClasses.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-10-19 23:03:29 +0100
committerGitHub <noreply@github.com>2024-10-19 23:03:29 +0100
commitf044e4c9514ec89c4c1fc8a523ca90b8cb907fb7 (patch)
tree5fa2ba17c08d522b7bb3f6564761b4aaedc532d0 /src/helpers/WLClasses.hpp
parentce3ba798df6bca5be1da4396644a9ef08a2acab4 (diff)
internal: Move CMonitor to SP (#8178)
* move monitors to sp * XD
Diffstat (limited to 'src/helpers/WLClasses.hpp')
-rw-r--r--src/helpers/WLClasses.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index 51f90166..9f2836e7 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -18,9 +18,9 @@ class CWLSurfaceResource;
AQUAMARINE_FORWARD(ISwitch);
struct SRenderData {
- CMonitor* pMonitor;
- timespec* when;
- double x, y;
+ PHLMONITORREF pMonitor;
+ timespec* when;
+ double x, y;
// for iters
void* data = nullptr;
@@ -59,16 +59,16 @@ struct SRenderData {
};
struct SSwipeGesture {
- PHLWORKSPACE pWorkspaceBegin = nullptr;
+ PHLWORKSPACE pWorkspaceBegin = nullptr;
- double delta = 0;
+ double delta = 0;
- int initialDirection = 0;
- float avgSpeed = 0;
- int speedPoints = 0;
- int touch_id = 0;
+ int initialDirection = 0;
+ float avgSpeed = 0;
+ int speedPoints = 0;
+ int touch_id = 0;
- CMonitor* pMonitor = nullptr;
+ PHLMONITORREF pMonitor;
};
struct SSwitchDevice {