]> Dogcows Code - chaz/openbox/commitdiff
surface's have a size not a width()/height()
authorDana Jansens <danakj@orodu.net>
Wed, 19 Feb 2003 02:39:21 +0000 (02:39 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Feb 2003 02:39:21 +0000 (02:39 +0000)
src/frame.cc

index cabad297e60016f1b03531c7066e708c76ba1fbe..6fedce49443fed8821aa2a480804cdb399e9127b 100644 (file)
@@ -449,8 +449,8 @@ void Frame::renderLabel()
     src = _title_sur->pixelData() + w * (geom.bevel + 1) + geom.title_x;
     
     // get the background under the label
-    int xd = s->width();
-    int yd = s->height();
+    int xd = s->size().width();
+    int yd = s->size().height();
     for (int y = 0; y < yd; ++y, src += w - xd)
       for (int x = 0; x < xd; ++x, ++dest, ++src)
         *dest = *src;
This page took 0.028849 seconds and 4 git commands to generate.