- const ScreenInfo *info = OBDisplay::screenInfo(getScreen());
- _xftdraw = XftDrawCreate(OBDisplay::display, getWindow(), info->getVisual(),
- info->getColormap());
-
- setTexture(getStyle()->getLabelUnfocus());
+ const ScreenInfo *info = display->screenInfo(screen());
+ _xftdraw = XftDrawCreate(**display, window(), info->visual(),
+ info->colormap());