diff options
author | vaxerski <[email protected]> | 2022-04-23 14:35:34 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-04-23 14:35:34 +0200 |
commit | f84294fe07d3442ca62302de491717ef6355e902 (patch) | |
tree | 9320b302b14c58abfd0c9602367d9b75f24d8894 /src/events/Popups.cpp | |
parent | 0147975faf939db389bebaa95e3a12e5e5a8753f (diff) | |
download | Hyprland-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.cpp | 4 |
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); |