aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-27 21:34:10 +0200
committervaxerski <[email protected]>2022-08-27 21:34:10 +0200
commit96aaa73d9c6210e733a9261cbf048be0775e1687 (patch)
tree9f6717ba35d2346f00fc0112dadc64e2bea6a689
parentc32acff8af154830fa5e448e722e5244ce713154 (diff)
downloadHyprland-96aaa73d9c6210e733a9261cbf048be0775e1687.tar.gz
Hyprland-96aaa73d9c6210e733a9261cbf048be0775e1687.zip
fix damage on popups
-rw-r--r--src/events/Popups.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp
index 6be94453..d0190fcf 100644
--- a/src/events/Popups.cpp
+++ b/src/events/Popups.cpp
@@ -27,11 +27,6 @@ void addPopupGlobalCoords(void* pPopup, int* x, int* y) {
px += curPopup->popup->current.geometry.x;
py += curPopup->popup->current.geometry.y;
- if (curPopup == PPOPUP) {
- px -= curPopup->popup->base->current.geometry.x;
- py -= curPopup->popup->base->current.geometry.y;
- }
-
// fix oversized fucking popups
// kill me
if (curPopup->pSurfaceTree && curPopup->pSurfaceTree->pSurface && !curPopup->parentPopup) {