aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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) {