[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiz: Changes to 'debian-unstable'



 debian/patches/014_fix-no-border-window-shadow.patch |   26 +++++++++++++++++++
 debian/patches/015_optional-fbo.patch                |    2 -
 debian/patches/series                                |    1 
 3 files changed, 28 insertions(+), 1 deletion(-)

New commits:
commit 564d9ea992eaf29b8e862596af1aad8ac465f7e4
Author: Thierry Reding <thierry@gilfi.de>
Date:   Mon Jan 8 15:56:52 2007 +0100

    Add patch that fixes white borders where shadows should be.

diff --git a/debian/patches/014_fix-no-border-window-shadow.patch b/debian/patches/014_fix-no-border-window-shadow.patch
new file mode 100644
index 0000000..678d2da
--- /dev/null
+++ b/debian/patches/014_fix-no-border-window-shadow.patch
@@ -0,0 +1,26 @@
+From abf9d0b9c431f56e3fe88cb5a22b2f5e7b41e92e Mon Sep 17 00:00:00 2001
+From: Nicolas Bruguier <gandalfn@mithrandir.(none)>
+Date: Tue, 12 Dec 2006 22:59:22 +0100
+Subject: [PATCH] Fix no border window shadow
+---
+ libdecoration/decoration.c |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/libdecoration/decoration.c b/libdecoration/decoration.c
+index 001757d..b6f0572 100644
+--- a/libdecoration/decoration.c
++++ b/libdecoration/decoration.c
+@@ -1056,7 +1056,9 @@ decor_create_shadow (Display		    *xdisp
+     }
+ 
+     /* create pixmap for temporary decorations */
+-    d_pixmap = XCreatePixmap (xdisplay, xroot, d_width, d_height, 32);
++    d_pixmap = XCreatePixmap (xdisplay, xroot, 
++                              (d_width % 32) ? d_width : d_width + 1, 
++                              d_height, 32);
+     if (!d_pixmap)
+     {
+ 	XFreePixmap (xdisplay, pixmap);
+-- 
+1.4.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 2162b82..78c6bed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 011_snap-by-default.patch
 012_debian-kde-includes-dir.patch
 013_set-qtdir-fallback.patch
+014_fix-no-border-window-shadow.patch
 015_optional-fbo.patch

commit b2ab250aebe89113120eaa2ff0ea8ff5fa2925ab
Author: Thierry Reding <thierry@gilfi.de>
Date:   Mon Jan 8 15:56:10 2007 +0100

    Refresh patch.

diff --git a/debian/patches/015_optional-fbo.patch b/debian/patches/015_optional-fbo.patch
index 217f6b4..8c8deec 100644
--- a/debian/patches/015_optional-fbo.patch
+++ b/debian/patches/015_optional-fbo.patch
@@ -42,7 +42,7 @@ Index: compiz.git/src/screen.c
  #define DETECT_REFRESH_RATE_DEFAULT TRUE
  
  #define SCREEN_HSIZE_DEFAULT 4
-@@ -1807,7 +1809,7 @@
+@@ -1804,7 +1806,7 @@
      }
  
      s->fbo = 0;



Reply to: