From beee22a95ed9044950e5486f22edd813e00ffa2c Mon Sep 17 00:00:00 2001 From: Kamikadze <40305144+Kam1k4dze@users.noreply.github.com> Date: Thu, 14 Aug 2025 19:44:56 +0500 Subject: refactor: Use new hyprutils casts (#11377) --- src/desktop/WLSurface.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/desktop/WLSurface.hpp') 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(-1); // CWLSurface& operator=(SP pSurface) { -- cgit v1.2.3