From d8cea7e21f6ebd5e28fea852a16d34ee0aa7e14d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 27 May 2003 05:11:46 +0000 Subject: [PATCH] paints are now recursive --- openbox/popup.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/openbox/popup.c b/openbox/popup.c index 84144014..922676a0 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -203,13 +203,8 @@ void popup_show(Popup *self, char *text, Icon *icon) if (!RrSurfaceVisible(self->s_bg)) { RrSurfaceShow(self->s_bg); stacking_raise(INTERNAL_AS_WINDOW(self)); - } else { - /* XXX only need to paint top level surface in the future */ + } else RrPaint(self->s_bg); - RrPaint(self->s_text); - if (self->s_icon) - RrPaint(self->s_icon); - } } void popup_hide(Popup *self) -- 2.34.1