From: Dana Jansens Date: Tue, 27 May 2003 05:11:46 +0000 (+0000) Subject: paints are now recursive X-Git-Tag: gl2~81 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=d8cea7e21f6ebd5e28fea852a16d34ee0aa7e14d;p=dana%2Fopenbox.git paints are now recursive --- 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)