aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/events/Popups.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-04-23 14:35:34 +0200
committervaxerski <[email protected]>2022-04-23 14:35:34 +0200
commitf84294fe07d3442ca62302de491717ef6355e902 (patch)
tree9320b302b14c58abfd0c9602367d9b75f24d8894 /src/events/Popups.cpp
parent0147975faf939db389bebaa95e3a12e5e5a8753f (diff)
downloadHyprland-f84294fe07d3442ca62302de491717ef6355e902.tar.gz
Hyprland-f84294fe07d3442ca62302de491717ef6355e902.zip
fixed fullscreen, removed effective vars from windows
Diffstat (limited to 'src/events/Popups.cpp')
-rw-r--r--src/events/Popups.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp
index fd026fde..7a4f4885 100644
--- a/src/events/Popups.cpp
+++ b/src/events/Popups.cpp
@@ -95,8 +95,8 @@ void Events::listener_newPopupXDG(void* owner, void* data) {
const auto PMONITOR = g_pCompositor->getMonitorFromID(PWINDOW->m_iMonitorID);
PNEWPOPUP->popup = WLRPOPUP;
- PNEWPOPUP->lx = PWINDOW->m_vEffectivePosition.x;
- PNEWPOPUP->ly = PWINDOW->m_vEffectivePosition.y;
+ PNEWPOPUP->lx = PWINDOW->m_vRealPosition.goalv().x;
+ PNEWPOPUP->ly = PWINDOW->m_vRealPosition.goalv().y;
PNEWPOPUP->parentWindow = PWINDOW;
PNEWPOPUP->monitor = PMONITOR;
createNewPopup(WLRPOPUP, PNEWPOPUP);