summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-19 02:39:21 +0000
committerDana Jansens <danakj@orodu.net>2003-02-19 02:39:21 +0000
commit89a5c973ac97bdeb47904ad27c291dc577a5c0a3 (patch)
treee5f0da2e84ad973ca72a0d65f7d9ed9281464784 /src
parent65e91ac3d6bbfec368bae9957c18c477d4f53ec5 (diff)
surface's have a size not a width()/height()
Diffstat (limited to 'src')
-rw-r--r--src/frame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.cc b/src/frame.cc
index cabad297..6fedce49 100644
--- a/src/frame.cc
+++ b/src/frame.cc
@@ -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;