diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-01-20 19:44:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-20 19:44:30 +0100 |
| commit | 60b880d9312574c3115d973fd532f2e15d1eafff (patch) | |
| tree | b88cad7335c97c876f069f9d378589210332a95f /src/helpers | |
| parent | cee7bc6e742aa02675701f772f5e7ebfb56f11ab (diff) | |
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 <fufexan@protonmail.com>
Diffstat (limited to 'src/helpers')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
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; } }; |
