projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e91ac
)
surface's have a size not a width()/height()
author
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 02:39:21 +0000
(
02:39
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 02:39:21 +0000
(
02:39
+0000)
src/frame.cc
patch
|
blob
|
history
diff --git
a/src/frame.cc
b/src/frame.cc
index
cabad29
..
6fedce4
100644
(file)
--- 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;