aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-07-26 22:45:59 +0200
committervaxerski <[email protected]>2022-07-26 22:45:59 +0200
commitd3c1d3435c2667c48c22926c48c7d5690d2c7009 (patch)
tree11cf90a48024e2d44610bdd78c0c86d7df5c5da1
parent57f5de68ae402ddca568a3959f4708ab47d08e64 (diff)
downloadHyprland-0.8.1beta.tar.gz
Hyprland-0.8.1beta.zip
fix typo in XDG popup callbacksv0.8.1beta
-rw-r--r--src/events/Popups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp
index 04064696..d55c2920 100644
--- a/src/events/Popups.cpp
+++ b/src/events/Popups.cpp
@@ -51,7 +51,7 @@ void addPopupGlobalCoords(void* pPopup, int* x, int* y) {
void createNewPopup(wlr_xdg_popup* popup, SXDGPopup* pHyprPopup) {
pHyprPopup->popup = popup;
- pHyprPopup->hyprListener_destroyPopupXDG.initCallback(&popup->base->surface->events.destroy, &Events::listener_destroyPopupXDG, pHyprPopup, "HyprPopup");
+ pHyprPopup->hyprListener_destroyPopupXDG.initCallback(&popup->base->events.destroy, &Events::listener_destroyPopupXDG, pHyprPopup, "HyprPopup");
pHyprPopup->hyprListener_mapPopupXDG.initCallback(&popup->base->events.map, &Events::listener_mapPopupXDG, pHyprPopup, "HyprPopup");
pHyprPopup->hyprListener_unmapPopupXDG.initCallback(&popup->base->events.unmap, &Events::listener_unmapPopupXDG, pHyprPopup, "HyprPopup");
pHyprPopup->hyprListener_newPopupFromPopupXDG.initCallback(&popup->base->events.new_popup, &Events::listener_newPopupFromPopupXDG, pHyprPopup, "HyprPopup");