From c97915f445017d36667a6ad32767fa41d14d23b1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 13 Jan 2003 08:48:03 +0000 Subject: un-static otk::Display. add an operator* to it. make a global ob::display var. --- otk/focuslabel.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'otk/focuslabel.cc') diff --git a/otk/focuslabel.cc b/otk/focuslabel.cc index 79c1507f..b1b8c764 100644 --- a/otk/focuslabel.cc +++ b/otk/focuslabel.cc @@ -13,8 +13,8 @@ namespace otk { FocusLabel::FocusLabel(Widget *parent) : FocusWidget(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()); } -- cgit v1.2.3