diff options
author | Vaxry <[email protected]> | 2023-11-04 17:03:05 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-04 17:03:05 +0000 |
commit | 55b4f84fea33adee3ec4b0a69c2bca6e7a1f5754 (patch) | |
tree | be7db4f841b4ac049527daae01e683701bf92b92 /src/hyprerror | |
parent | 73e78f05ad5cafa20ac5bf177c94ac9ecca37097 (diff) | |
download | Hyprland-55b4f84fea33adee3ec4b0a69c2bca6e7a1f5754.tar.gz Hyprland-55b4f84fea33adee3ec4b0a69c2bca6e7a1f5754.zip |
Internal: Hyprland box implementation (#3755)
* box impl
* remove unused operators
* missed applyfromwlr
Diffstat (limited to 'src/hyprerror')
-rw-r--r-- | src/hyprerror/HyprError.cpp | 2 | ||||
-rw-r--r-- | src/hyprerror/HyprError.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp index 4f916139..6a91ba87 100644 --- a/src/hyprerror/HyprError.cpp +++ b/src/hyprerror/HyprError.cpp @@ -154,7 +154,7 @@ void CHyprError::draw() { const auto PMONITOR = g_pHyprOpenGL->m_RenderData.pMonitor; - wlr_box monbox = {0, 0, PMONITOR->vecPixelSize.x, PMONITOR->vecPixelSize.y}; + CBox monbox = {0, 0, PMONITOR->vecPixelSize.x, PMONITOR->vecPixelSize.y}; m_bDamageBox.x = (int)PMONITOR->vecPosition.x; m_bDamageBox.y = (int)PMONITOR->vecPosition.y; diff --git a/src/hyprerror/HyprError.hpp b/src/hyprerror/HyprError.hpp index ff4e8577..cee648e2 100644 --- a/src/hyprerror/HyprError.hpp +++ b/src/hyprerror/HyprError.hpp @@ -23,7 +23,7 @@ class CHyprError { bool m_bIsCreated = false; CTexture m_tTexture; CAnimatedVariable m_fFadeOpacity; - wlr_box m_bDamageBox = {0, 0, 0, 0}; + CBox m_bDamageBox = {0, 0, 0, 0}; bool m_bMonitorChanged = false; }; |