Lines 1701-1708
updateWindowRegion (CompWindow *w)
Link Here
|
1701 |
{ |
1701 |
{ |
1702 |
r.x = -w->attrib.border_width; |
1702 |
r.x = -w->attrib.border_width; |
1703 |
r.y = -w->attrib.border_width; |
1703 |
r.y = -w->attrib.border_width; |
1704 |
r.width = w->width; |
1704 |
r.width = w->attrib.width + w->attrib.border_width; |
1705 |
r.height = w->height; |
1705 |
r.height = w->attrib.height + w->attrib.border_width; |
1706 |
|
1706 |
|
1707 |
rects = &r; |
1707 |
rects = &r; |
1708 |
n = 1; |
1708 |
n = 1; |
Lines 1719-1726
updateWindowRegion (CompWindow *w)
Link Here
|
1719 |
{ |
1719 |
{ |
1720 |
rect.extents.x1 = rects[i].x + w->attrib.border_width; |
1720 |
rect.extents.x1 = rects[i].x + w->attrib.border_width; |
1721 |
rect.extents.y1 = rects[i].y + w->attrib.border_width; |
1721 |
rect.extents.y1 = rects[i].y + w->attrib.border_width; |
1722 |
rect.extents.x2 = rect.extents.x1 + rects[i].width; |
1722 |
rect.extents.x2 = rect.extents.x1 + rects[i].width + |
1723 |
rect.extents.y2 = rect.extents.y1 + rects[i].height; |
1723 |
w->attrib.border_width; |
|
|
1724 |
rect.extents.y2 = rect.extents.y1 + rects[i].height + |
1725 |
w->attrib.border_width; |
1724 |
|
1726 |
|
1725 |
if (rect.extents.x1 < 0) |
1727 |
if (rect.extents.x1 < 0) |
1726 |
rect.extents.x1 = 0; |
1728 |
rect.extents.x1 = 0; |
1727 |
- |
|
|