#include "display.hh"
#include "assassin.hh"
#include "screeninfo.hh"
-
+#include "focuslabel.hh"
#include <algorithm>
#include <iostream>
if (recursive) {
WidgetList::iterator it = _children.begin(), end = _children.end();
for (; it != end; ++it)
- (*it)->show();
+ (*it)->show(recursive);
}
XMapWindow(**display, _window);
_surface = new Surface(_screen, _rect.size());
display->renderControl(_screen)->drawBackground(*_surface, *_texture);
- renderForeground();
+ if (dynamic_cast<FocusLabel*>(this))
+ printf("IM A FOCUSLABEL RENDERING\n");
+ renderForeground(); // for inherited types to render onto the _surface
XSetWindowBackgroundPixmap(**display, _window, _surface->pixmap());