diff options
author | 2007-08-02 00:52:18 +0000 | |
---|---|---|
committer | 2007-08-02 00:52:18 +0000 | |
commit | 01a752b87af8542572047d1eb4ff06c90d436364 (patch) | |
tree | b438f32c67777f8a9d3483f2ed4218878d60ba59 /x11-misc/xcompmgr | |
parent | (#185705) Stop Xephyr from crashing when applications quit. (diff) | |
download | gentoo-2-01a752b87af8542572047d1eb4ff06c90d436364.tar.gz gentoo-2-01a752b87af8542572047d1eb4ff06c90d436364.tar.bz2 gentoo-2-01a752b87af8542572047d1eb4ff06c90d436364.zip |
(#186879) Add a patch to update opacity on unmapped windows.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'x11-misc/xcompmgr')
-rw-r--r-- | x11-misc/xcompmgr/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/xcompmgr/files/digest-xcompmgr-1.1.3-r1 | 3 | ||||
-rw-r--r-- | x11-misc/xcompmgr/files/fix-unmapped-window-opacity.patch | 42 | ||||
-rw-r--r-- | x11-misc/xcompmgr/xcompmgr-1.1.3-r1.ebuild | 17 |
4 files changed, 69 insertions, 1 deletions
diff --git a/x11-misc/xcompmgr/ChangeLog b/x11-misc/xcompmgr/ChangeLog index 5b91026e94ac..23280f796a7d 100644 --- a/x11-misc/xcompmgr/ChangeLog +++ b/x11-misc/xcompmgr/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xcompmgr # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcompmgr/ChangeLog,v 1.22 2007/07/22 03:25:08 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcompmgr/ChangeLog,v 1.23 2007/08/02 00:52:18 dberkholz Exp $ + +*xcompmgr-1.1.3-r1 (02 Aug 2007) + + 02 Aug 2007; Donnie Berkholz <dberkholz@gentoo.org>; + +files/fix-unmapped-window-opacity.patch, +xcompmgr-1.1.3-r1.ebuild: + (#186879) Add a patch to update opacity on unmapped windows. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; xcompmgr-1.1.2.ebuild, xcompmgr-1.1.3.ebuild: diff --git a/x11-misc/xcompmgr/files/digest-xcompmgr-1.1.3-r1 b/x11-misc/xcompmgr/files/digest-xcompmgr-1.1.3-r1 new file mode 100644 index 000000000000..2ca3cbc4a744 --- /dev/null +++ b/x11-misc/xcompmgr/files/digest-xcompmgr-1.1.3-r1 @@ -0,0 +1,3 @@ +MD5 44ccbafa8484b7e0c00e5c83cd915adc xcompmgr-1.1.3.tar.gz 79840 +RMD160 65c7c045a0c1361b0dfa346cdc73439ad0db0f2c xcompmgr-1.1.3.tar.gz 79840 +SHA256 5d4b1fb063876c7b3883e45b69d3a07845a62a132c8a9994de16bf8d6c199d44 xcompmgr-1.1.3.tar.gz 79840 diff --git a/x11-misc/xcompmgr/files/fix-unmapped-window-opacity.patch b/x11-misc/xcompmgr/files/fix-unmapped-window-opacity.patch new file mode 100644 index 000000000000..2eeac7c81fb2 --- /dev/null +++ b/x11-misc/xcompmgr/files/fix-unmapped-window-opacity.patch @@ -0,0 +1,42 @@ +From: Mark Tiefenbruck <mark@fluxbox.org> +Date: Thu, 25 Jan 2007 20:05:02 +0000 (-0500) +Subject: Bug #9762: Fix opacity changes on unmapped windows. +X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/app/xcompmgr.git;a=commitdiff;h=08c9ac6cbb3405cfa4f0b60d7014c734a1990047 + +Bug #9762: Fix opacity changes on unmapped windows. +--- + +--- a/xcompmgr.c ++++ b/xcompmgr.c +@@ -1165,6 +1165,9 @@ repair_win (Display *dpy, win *w) + w->damaged = 1; + } + ++static unsigned int ++get_opacity_prop (Display *dpy, win *w, unsigned int def); ++ + static void + map_win (Display *dpy, Window id, unsigned long sequence, Bool fade) + { +@@ -1179,6 +1182,10 @@ map_win (Display *dpy, Window id, unsign + /* This needs to be here or else we lose transparency messages */ + XSelectInput (dpy, id, PropertyChangeMask); + ++ /* This needs to be here since we don't get PropertyNotify when unmapped */ ++ w->opacity = get_opacity_prop (dpy, w, OPAQUE); ++ determine_mode (dpy, w); ++ + #if CAN_DO_USABLE + w->damage_bounds.x = w->damage_bounds.y = 0; + w->damage_bounds.width = w->damage_bounds.height = 0; +@@ -1467,10 +1474,7 @@ add_win (Display *dpy, Window id, Window + new->borderClip = None; + new->prev_trans = 0; + +- /* moved mode setting to one place */ +- new->opacity = get_opacity_prop (dpy, new, OPAQUE); + new->windowType = determine_wintype (dpy, new->id); +- determine_mode (dpy, new); + + new->next = *p; + *p = new; diff --git a/x11-misc/xcompmgr/xcompmgr-1.1.3-r1.ebuild b/x11-misc/xcompmgr/xcompmgr-1.1.3-r1.ebuild new file mode 100644 index 000000000000..9e3a88950edf --- /dev/null +++ b/x11-misc/xcompmgr/xcompmgr-1.1.3-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcompmgr/xcompmgr-1.1.3-r1.ebuild,v 1.1 2007/08/02 00:52:18 dberkholz Exp $ + +inherit x-modular + +DESCRIPTION="X Compositing manager" +HOMEPAGE="http://freedesktop.org/Software/xapps" +SRC_URI="http://xapps.freedesktop.org/release/${P}.tar.gz" +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" +RDEPEND="x11-libs/libXrender + x11-libs/libXdamage + x11-libs/libXcomposite" + +PATCHES="${FILESDIR}/fix-unmapped-window-opacity.patch" |