aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-28 20:50:50 +0200
committervaxerski <[email protected]>2022-05-28 20:50:50 +0200
commit685cf1e00dd0278ffc122675b834d2ad429a71fc (patch)
tree9f3974a1d66256663c4203f902b0cc5de6edac57
parentbdf1c1619529792e95cd6cf2aa1d68e51db76252 (diff)
downloadHyprland-685cf1e00dd0278ffc122675b834d2ad429a71fc.tar.gz
Hyprland-685cf1e00dd0278ffc122675b834d2ad429a71fc.zip
remove unused PMONITOR var
-rw-r--r--src/render/decorations/CHyprGroupBarDecoration.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp
index eca14973..a677638c 100644
--- a/src/render/decorations/CHyprGroupBarDecoration.cpp
+++ b/src/render/decorations/CHyprGroupBarDecoration.cpp
@@ -21,8 +21,6 @@ eDecorationType CHyprGroupBarDecoration::getDecorationType() {
void CHyprGroupBarDecoration::updateWindow(CWindow* pWindow) {
damageEntire();
- const auto PMONITOR = g_pCompositor->getMonitorFromID(pWindow->m_iMonitorID);
-
if (pWindow->m_vRealPosition.vec() != m_vLastWindowPos || pWindow->m_vRealSize.vec() != m_vLastWindowSize) {
// we draw 3px above the window's border with 3px
const auto BORDERSIZE = g_pConfigManager->getInt("general:border_size");