summaryrefslogtreecommitdiff
path: root/openbox/popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/popup.c')
-rw-r--r--openbox/popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/popup.c b/openbox/popup.c
index 17462d39..efde0758 100644
--- a/openbox/popup.c
+++ b/openbox/popup.c
@@ -34,7 +34,7 @@ Popup *popup_new(gboolean hasicon)
self->gravity = NorthWestGravity;
self->x = self->y = self->w = self->h = 0;
self->mapped = FALSE;
- stacking_add(self);
+ stacking_add(INTERNAL_AS_WINDOW(self));
stacking_raise(INTERNAL_AS_WINDOW(self));
return self;
}