mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-10-26 14:14:15 +03:00
fix for latest wlroots
This commit is contained in:
parent
d8c5e53c08
commit
1bef63a1e6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user