X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fimagecontrol.cc;h=09823b8e2499e8f30ed8ee0d3dead765727de8b3;hb=5a139f7263e33b499836f5df9ac37400e02c32f9;hp=8cc6b2afb8750c5b7eabd62946348abaa56e24aa;hpb=9259ec5732851dd66f7c598d629e3808ac7ab3d8;p=chaz%2Fopenbox diff --git a/otk/imagecontrol.cc b/otk/imagecontrol.cc index 8cc6b2af..09823b8e 100644 --- a/otk/imagecontrol.cc +++ b/otk/imagecontrol.cc @@ -1,4 +1,4 @@ -// -*- mode: C++; indent-tabs-mode: nil; -*- +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- #ifdef HAVE_CONFIG_H # include "../config.h" @@ -69,10 +69,10 @@ BImageControl::BImageControl(OBTimerQueueManager *timermanager, sqrt_table = (unsigned long *) 0; - screen_depth = screeninfo->getDepth(); - window = screeninfo->getRootWindow(); - screen_number = screeninfo->getScreenNumber(); - colormap = screeninfo->getColormap(); + screen_depth = screeninfo->depth(); + window = screeninfo->rootWindow(); + screen_number = screeninfo->screen(); + colormap = screeninfo->colormap(); int count; XPixmapFormatValues *pmv = XListPixmapFormats(OBDisplay::display,