- const otk::ScreenInfo *info = otk::OBDisplay::screenInfo(_screen);
- _xftdraw = XftDrawCreate(otk::OBDisplay::display, _window, info->visual(),
+ const otk::ScreenInfo *info = otk::display->screenInfo(_screen);
+ _xftdraw = XftDrawCreate(**otk::display, _window, info->visual(),