diff options
author | Vaxry <[email protected]> | 2023-07-19 20:09:49 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-19 20:09:49 +0200 |
commit | 89b87158dbf100e4177f4a010190ba5f80252eb2 (patch) | |
tree | cacff8d4257c0e4a1f95937c969075df0b07c280 /src/defines.hpp | |
parent | ce9896204a2ab1eb4f8960d44b876cbc9d0955ac (diff) | |
download | Hyprland-89b87158dbf100e4177f4a010190ba5f80252eb2.tar.gz Hyprland-89b87158dbf100e4177f4a010190ba5f80252eb2.zip |
internal: Wrap regions (#2750)
Diffstat (limited to 'src/defines.hpp')
-rw-r--r-- | src/defines.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/defines.hpp b/src/defines.hpp index 3ab76ffb..ca91fa55 100644 --- a/src/defines.hpp +++ b/src/defines.hpp @@ -27,13 +27,6 @@ #define DELTALESSTHAN(a, b, delta) (abs((a) - (b)) < (delta)) -#define PIXMAN_DAMAGE_FOREACH(region) \ - int rectsNum = 0; \ - const auto RECTSARR = pixman_region32_rectangles(region, &rectsNum); \ - for (int i = 0; i < rectsNum; ++i) - -#define PIXMAN_REGION_FOREACH(region) PIXMAN_DAMAGE_FOREACH(region) - #define interface class #define STICKS(a, b) abs((a) - (b)) < 2 |