Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217471 Details for
Bug 302308
[PATCHES] x11-wm/compiz-0.8.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
compiz-0.8.4-fix-window-region-calculation.patch
compiz-0.8.4-fix-window-region-calculation.patch (text/plain), 1.17 KB, created by
Denilson Sá Maia
on 2010-01-26 14:22:49 UTC
(
hide
)
Description:
compiz-0.8.4-fix-window-region-calculation.patch
Filename:
MIME Type:
Creator:
Denilson Sá Maia
Created:
2010-01-26 14:22:49 UTC
Size:
1.17 KB
patch
obsolete
>From 79a275b240a98d9f64c8dd1e799e5d469ec8f204 Mon Sep 17 00:00:00 2001 >From: Danny Baumann <dannybaumann@web.de> >Date: Wed, 20 Jan 2010 14:05:10 +0000 >Subject: Fix window region calculation for windows that have border width set. > >--- >diff --git a/src/window.c b/src/window.c >index 90922d1..e7bb987 100644 >--- a/src/window.c >+++ b/src/window.c >@@ -1701,8 +1701,8 @@ updateWindowRegion (CompWindow *w) > { > r.x = -w->attrib.border_width; > r.y = -w->attrib.border_width; >- r.width = w->width; >- r.height = w->height; >+ r.width = w->attrib.width + w->attrib.border_width; >+ r.height = w->attrib.height + w->attrib.border_width; > > rects = &r; > n = 1; >@@ -1719,8 +1719,10 @@ updateWindowRegion (CompWindow *w) > { > rect.extents.x1 = rects[i].x + w->attrib.border_width; > rect.extents.y1 = rects[i].y + w->attrib.border_width; >- rect.extents.x2 = rect.extents.x1 + rects[i].width; >- rect.extents.y2 = rect.extents.y1 + rects[i].height; >+ rect.extents.x2 = rect.extents.x1 + rects[i].width + >+ w->attrib.border_width; >+ rect.extents.y2 = rect.extents.y1 + rects[i].height + >+ w->attrib.border_width; > > if (rect.extents.x1 < 0) > rect.extents.x1 = 0; >-- >cgit v0.8.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 302308
: 217471 |
217472
|
217473