diff options
author | vaxerski <[email protected]> | 2022-05-28 20:50:50 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-28 20:50:50 +0200 |
commit | 685cf1e00dd0278ffc122675b834d2ad429a71fc (patch) | |
tree | 9f3974a1d66256663c4203f902b0cc5de6edac57 | |
parent | bdf1c1619529792e95cd6cf2aa1d68e51db76252 (diff) | |
download | Hyprland-685cf1e00dd0278ffc122675b834d2ad429a71fc.tar.gz Hyprland-685cf1e00dd0278ffc122675b834d2ad429a71fc.zip |
remove unused PMONITOR var
-rw-r--r-- | src/render/decorations/CHyprGroupBarDecoration.cpp | 2 |
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"); |