X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Flabel.cc;h=da9edfd179708c591b30b6fbbe2e6f4ff6ceed59;hb=e44d7697e56a32bafefe25e87feb67a5c29ce7ad;hp=05ed6cfa13c9e3975d643828cd018deb311e9210;hpb=5a90d2b671f01f29043ab82f909440de0abfa362;p=chaz%2Fopenbox diff --git a/otk/label.cc b/otk/label.cc index 05ed6cfa..da9edfd1 100644 --- a/otk/label.cc +++ b/otk/label.cc @@ -11,8 +11,8 @@ namespace otk { Label::Label(Widget *parent) : Widget(parent), _text("") { - const ScreenInfo *info = Display::screenInfo(screen()); - _xftdraw = XftDrawCreate(Display::display, window(), info->visual(), + const ScreenInfo *info = display->screenInfo(screen()); + _xftdraw = XftDrawCreate(**display, window(), info->visual(), info->colormap()); }