diff --git a/src/view/xdg-shell.cpp b/src/view/xdg-shell.cpp index 7649059da..4a0daca46 100644 --- a/src/view/xdg-shell.cpp +++ b/src/view/xdg-shell.cpp @@ -408,7 +408,7 @@ class xdg_popup_controller_t view->destroy(); delete this; }); - on_destroy.connect(&popup->base->events.destroy); + on_destroy.connect(&popup->events.destroy); view = wayfire_xdg_popup::create(popup); }