From d690a5ab49fd79b4e62627c23679de6e735710bc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sep 25 2006 19:57:21 +0000 Subject: make pager visible with compiz --- diff --git a/libwnck-2.16.0-viewports.patch b/libwnck-2.16.0-viewports.patch new file mode 100644 index 0000000..8d9b8eb --- /dev/null +++ b/libwnck-2.16.0-viewports.patch @@ -0,0 +1,13 @@ +--- libwnck-2.16.0/libwnck/pager.c.viewports 2006-06-29 09:56:52.000000000 -0400 ++++ libwnck-2.16.0/libwnck/pager.c 2006-09-25 15:52:57.000000000 -0400 +@@ -944,6 +944,10 @@ + vh = height_ratio * wnck_screen_get_height (pager->priv->screen); + + cr = gdk_cairo_create (widget->window); ++ gdk_cairo_set_source_color (cr, &widget->style->base[state]); ++ cairo_rectangle (cr, rect->x, rect->y, rect->width, rect->height); ++ cairo_fill (cr); ++ + gdk_cairo_set_source_color (cr, &widget->style->dark[state]); + cairo_rectangle (cr, vx, vy, vw, vh); + cairo_fill (cr); diff --git a/libwnck.spec b/libwnck.spec index c0cbfe4..4a6e4ab 100644 --- a/libwnck.spec +++ b/libwnck.spec @@ -6,7 +6,7 @@ Summary: Window Navigator Construction Kit Name: libwnck Version: 2.16.0 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://ftp.gnome.org/pub/GNOME/sources/libwnck/ Source0: %{name}-%{version}.tar.bz2 License: LGPL @@ -28,6 +28,8 @@ BuildRequires: gettext # http://bugzilla.gnome.org/show_bug.cgi?id=355523 Patch0: libwnck-2.16.0-icon-geometry.patch +# make the pager visible when running compiz +Patch1: libwnck-2.16.0-viewports.patch %description @@ -57,6 +59,7 @@ just to use precompiled applications. %prep %setup -q %patch0 -p0 -b .icon-geometry +%patch1 -p1 -b .viewports %build @@ -95,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/libwnck %changelog +* Mon Sep 25 2006 Matthias Clasen - 2.16.0-3 +- Make the pager visible when using compiz + * Mon Sep 11 2006 Matthias Clasen - 2.16.0-2 - Avoid excessive icon geometry updates