mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 23:21:57 -07:00
fix for latest wlroots
This commit is contained in:
@@ -23,8 +23,8 @@ void addPopupGlobalCoords(void* pPopup, int* x, int* y) {
|
|||||||
|
|
||||||
auto curPopup = PPOPUP;
|
auto curPopup = PPOPUP;
|
||||||
while (true) {
|
while (true) {
|
||||||
px += curPopup->popup->geometry.x;
|
px += curPopup->popup->current.geometry.x;
|
||||||
py += curPopup->popup->geometry.y;
|
py += curPopup->popup->current.geometry.y;
|
||||||
|
|
||||||
if (curPopup->parentPopup) {
|
if (curPopup->parentPopup) {
|
||||||
curPopup = curPopup->parentPopup;
|
curPopup = curPopup->parentPopup;
|
||||||
|
Reference in New Issue
Block a user