diff options
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 c8898c3b..bcdb1808 100644 --- a/src/events/Popups.cpp +++ b/src/events/Popups.cpp @@ -191,7 +191,7 @@ void Events::listener_repositionPopupXDG(void* owner, void* data) { const auto PMONITOR = g_pCompositor->m_pLastMonitor; CBox box = {PMONITOR->vecPosition.x - lx + PPOPUP->popup->current.geometry.x, PMONITOR->vecPosition.y - ly + PPOPUP->popup->current.geometry.y, PMONITOR->vecSize.x, - PMONITOR->vecSize.y}; + PMONITOR->vecSize.y}; wlr_xdg_popup_unconstrain_from_box(PPOPUP->popup, box.pWlr()); } |
