diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-27 16:03:24 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-27 16:03:24 +0200 |
| commit | 1bef63a1e6c2020579a084cc86527275af6fb9fa (patch) | |
| tree | b02f49e69b664d002a3b09a726847b777ad6d4d9 /src/events/Popups.cpp | |
| parent | d8c5e53c0803eb118080657734160bf3ab5127d2 (diff) | |
fix for latest wlroots
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 7a4f4885..dde2d46d 100644 --- a/src/events/Popups.cpp +++ b/src/events/Popups.cpp @@ -23,8 +23,8 @@ void addPopupGlobalCoords(void* pPopup, int* x, int* y) { auto curPopup = PPOPUP; while (true) { - px += curPopup->popup->geometry.x; - py += curPopup->popup->geometry.y; + px += curPopup->popup->current.geometry.x; + py += curPopup->popup->current.geometry.y; if (curPopup->parentPopup) { curPopup = curPopup->parentPopup; |
