paints are now recursive
authorDana Jansens <danakj@orodu.net>
Tue, 27 May 2003 05:11:46 +0000 (05:11 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 27 May 2003 05:11:46 +0000 (05:11 +0000)
openbox/popup.c

index 84144014168201866f48521d0983a454154b7c36..922676a01dc90dc12926783041c3301c141f256e 100644 (file)
@@ -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)