X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.cc;h=69a86237ec407cdccf8ceb412a12204c7e54d61a;hb=2c977ae7ffe1e287264989669d2cfd2eb499d4ee;hp=154fc92cd6faa698a1fcbde220634873a4981581;hpb=70e2ab8017bc50fc1442f56f2b24ad18f4844686;p=chaz%2Fopenbox diff --git a/otk/widget.cc b/otk/widget.cc index 154fc92c..69a86237 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -259,15 +259,12 @@ void Widget::ungrabKeyboard(void) void Widget::render(void) { if (!_texture) return; - printf("RENDER\n"); Surface *s = _surface; // save the current surface _surface = new Surface(_screen, _rect.size()); display->renderControl(_screen)->drawBackground(*_surface, *_texture); - if (dynamic_cast(this)) - printf("IM A FOCUSLABEL RENDERING\n"); renderForeground(); // for inherited types to render onto the _surface XSetWindowBackgroundPixmap(**display, _window, _surface->pixmap());