From 60b880d9312574c3115d973fd532f2e15d1eafff Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:44:30 +0100 Subject: wp-fractional-scaling-v1 impl (#1373) * Initial fractional scaling impl * apply UV after geom calcs * fix scaling -> scale * meson: add fractional scale proto Co-authored-by: Mihai Fufezan --- src/helpers/WLClasses.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/helpers') diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index 1c10a5e9..af070c78 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -42,8 +42,10 @@ struct SLayerSurface { } }; +class CMonitor; + struct SRenderData { - wlr_output* output; + CMonitor* pMonitor; timespec* when; int x, y; @@ -51,7 +53,6 @@ struct SRenderData { void* data = nullptr; wlr_surface* surface = nullptr; int w, h; - void* pMonitor = nullptr; // for rounding bool dontRound = true; @@ -223,7 +224,7 @@ struct STablet { std::string name = ""; bool operator==(const STablet& b) { - return wlrDevice == b.wlrDevice; + return wlrDevice == b.wlrDevice; } }; -- cgit v1.2.3