diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-26 22:58:25 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-26 22:58:25 +0200 |
| commit | cc146f03441bd1512f42d768a321a3fad110671e (patch) | |
| tree | df6820f1e1c3364bf073c30bdac7c5e18d47660a /src/events/Popups.cpp | |
| parent | d3c1d3435c2667c48c22926c48c7d5690d2c7009 (diff) | |
use transformed size in popup unconstrain
Diffstat (limited to 'src/events/Popups.cpp')
| -rw-r--r-- | src/events/Popups.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp index d55c2920..63f76431 100644 --- a/src/events/Popups.cpp +++ b/src/events/Popups.cpp @@ -58,7 +58,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->vecSize.x, .height = PMONITOR->vecSize.y}; + wlr_box box = {.x = PMONITOR->vecPosition.x - pHyprPopup->lx, .y = PMONITOR->vecPosition.y - pHyprPopup->ly, .width = PMONITOR->vecTransformedSize.x, .height = PMONITOR->vecTransformedSize.y}; wlr_xdg_popup_unconstrain_from_box(popup, &box); |
