aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-07 21:27:30 +0200
committervaxerski <[email protected]>2022-08-07 21:27:30 +0200
commit9532ff42871615d3293f5fb679282e3423ff380d (patch)
tree753fbdb1642d5c7e2df0ee167a63e126e3986370
parentd64227e7c7fb706974539f359abe1dd50eb19c34 (diff)
downloadHyprland-9532ff42871615d3293f5fb679282e3423ff380d.tar.gz
Hyprland-9532ff42871615d3293f5fb679282e3423ff380d.zip
fix unconstrain coords
-rw-r--r--src/events/Popups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp
index c1856ac9..38c882a4 100644
--- a/src/events/Popups.cpp
+++ b/src/events/Popups.cpp
@@ -59,7 +59,7 @@ void createNewPopup(wlr_xdg_popup* popup, SXDGPopup* pHyprPopup) {
const auto PMONITOR = g_pCompositor->m_pLastMonitor;
- wlr_box box = {.x = PMONITOR->vecPosition.x - pHyprPopup->lx, .y = PMONITOR->vecPosition.y - pHyprPopup->ly, .width = PMONITOR->vecTransformedSize.x, .height = PMONITOR->vecTransformedSize.y};
+ wlr_box box = {.x = PMONITOR->vecPosition.x - pHyprPopup->lx, .y = PMONITOR->vecPosition.y - pHyprPopup->ly, .width = PMONITOR->vecSize.x, .height = PMONITOR->vecSize.y};
wlr_xdg_popup_unconstrain_from_box(popup, &box);