From 6e42b65bda1706887f3b2a7f9d79ba20f7611a06 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 16 May 2003 15:16:33 +0000 Subject: add anotehr stacking_add function. make stacking_add take care of raising also. make new windows that dont get focus also not raise above the focused window. --- openbox/popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/popup.c') 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; } -- cgit v1.2.3