summaryrefslogtreecommitdiff
path: root/src/desktop/WLSurface.hpp
diff options
context:
space:
mode:
authorKamikadze <40305144+Kam1k4dze@users.noreply.github.com>2025-08-14 19:44:56 +0500
committerGitHub <noreply@github.com>2025-08-14 15:44:56 +0100
commitbeee22a95ed9044950e5486f22edd813e00ffa2c (patch)
tree4612fa3d9b17275d417a059c19f998c64e871997 /src/desktop/WLSurface.hpp
parentaa6a78f0a4e17c49ed4aff8b58c3f7ec7ef0408f (diff)
refactor: Use new hyprutils casts (#11377)
Diffstat (limited to 'src/desktop/WLSurface.hpp')
-rw-r--r--src/desktop/WLSurface.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/WLSurface.hpp b/src/desktop/WLSurface.hpp
index 3aed5046..4d26d509 100644
--- a/src/desktop/WLSurface.hpp
+++ b/src/desktop/WLSurface.hpp
@@ -58,7 +58,7 @@ class CWLSurface {
// track surface data and avoid dupes
float m_lastScaleFloat = 0;
int m_lastScaleInt = 0;
- wl_output_transform m_lastTransform = (wl_output_transform)-1;
+ wl_output_transform m_lastTransform = sc<wl_output_transform>(-1);
//
CWLSurface& operator=(SP<CWLSurfaceResource> pSurface) {