X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffocuslabel.cc;fp=otk%2Ffocuslabel.cc;h=136eb742c08c9498edf5c46d75e8907f1025b719;hb=06de24ec6666578759eff2b348e50f5e8e20f3bd;hp=5b9fcb30f7d5e4694096c8adb3a5cf7093d8ffe5;hpb=723739dafe91a156fef527f3b53a483195695cf1;p=chaz%2Fopenbox diff --git a/otk/focuslabel.cc b/otk/focuslabel.cc index 5b9fcb30..136eb742 100644 --- a/otk/focuslabel.cc +++ b/otk/focuslabel.cc @@ -14,8 +14,8 @@ OtkFocusLabel::OtkFocusLabel(OtkWidget *parent) : OtkFocusWidget(parent), _text("") { const ScreenInfo *info = OBDisplay::screenInfo(screen()); - _xftdraw = XftDrawCreate(OBDisplay::display, window(), info->getVisual(), - info->getColormap()); + _xftdraw = XftDrawCreate(OBDisplay::display, window(), info->visual(), + info->colormap()); } OtkFocusLabel::~OtkFocusLabel()