aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Bozhinov <ammen99@gmail.com>2020-10-27 18:28:39 +0100
committerSimon Ser <contact@emersion.fr>2020-10-27 18:49:19 +0100
commit346188c01511d3a6432f6fdaf43823cf58a8efca (patch)
treea8b0c8b8665274e4c93c4a48823da23062fac652
parent79c7591dc196b14dfa857caf2c183276f937ee02 (diff)
xdg_shell: fix a typo
-rw-r--r--types/xdg_shell/wlr_xdg_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/xdg_shell/wlr_xdg_surface.c b/types/xdg_shell/wlr_xdg_surface.c
index 7cd12040..d33cbffe 100644
--- a/types/xdg_shell/wlr_xdg_surface.c
+++ b/types/xdg_shell/wlr_xdg_surface.c
@@ -494,7 +494,7 @@ void reset_xdg_surface(struct wlr_xdg_surface *xdg_surface) {
break;
case WLR_XDG_SURFACE_ROLE_POPUP:
wl_resource_set_user_data(xdg_surface->popup->resource, NULL);
- xdg_surface->toplevel->resource = NULL;
+ xdg_surface->popup->resource = NULL;
wl_list_remove(&xdg_surface->popup->link);