Date: Sun, 20 May 2018 13:47:08 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470458 - in head/x11-wm/xcompmgr: . files Message-ID: <201805201347.w4KDl8Dn048992@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Sun May 20 13:47:08 2018 New Revision: 470458 URL: https://svnweb.freebsd.org/changeset/ports/470458 Log: x11-wm/xcompmgr: Add patch to fix shadow rendering The patch has been laying in upstream bugzilla for quite some time, but is used on some linux distribution packages, such as debian packages. While here, add missing dependency on xext. PR: 182002 Submitted by: Brandon Gooch Obtained from: https://bugs.freedesktop.org/show_bug.cgi?id=46285 (patch) MFH: 2018Q2 Added: head/x11-wm/xcompmgr/files/ head/x11-wm/xcompmgr/files/patch-xcompmgr.c (contents, props changed) Modified: head/x11-wm/xcompmgr/Makefile Modified: head/x11-wm/xcompmgr/Makefile ============================================================================== --- head/x11-wm/xcompmgr/Makefile Sun May 20 13:28:57 2018 (r470457) +++ head/x11-wm/xcompmgr/Makefile Sun May 20 13:47:08 2018 (r470458) @@ -3,13 +3,14 @@ PORTNAME= xcompmgr PORTVERSION= 1.1.7 +PORTREVISION= 1 CATEGORIES= x11-wm MAINTAINER= x11@FreeBSD.org COMMENT= Sample X compositing manager XORG_CAT= app -USE_XORG= x11 xcomposite xfixes xdamage xrender +USE_XORG= x11 xcomposite xext xfixes xdamage xrender PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz Added: head/x11-wm/xcompmgr/files/patch-xcompmgr.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/xcompmgr/files/patch-xcompmgr.c Sun May 20 13:47:08 2018 (r470458) @@ -0,0 +1,28 @@ +--- xcompmgr.c.orig 2015-04-17 05:56:17 UTC ++++ xcompmgr.c +@@ -1028,7 +1028,6 @@ paint_all (Display *dpy, XserverRegion region) + { + w->borderClip = XFixesCreateRegion (dpy, NULL, 0); + XFixesCopyRegion (dpy, w->borderClip, region); +- XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize); + } + w->prev_trans = t; + t = w; +@@ -1080,6 +1079,8 @@ paint_all (Display *dpy, XserverRegion region) + if (w->mode == WINDOW_TRANS) + { + int x, y, wid, hei; ++ XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize); ++ XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip); + #if HAS_NAME_WINDOW_PIXMAP + x = w->a.x; + y = w->a.y; +@@ -1099,6 +1100,8 @@ paint_all (Display *dpy, XserverRegion region) + else if (w->mode == WINDOW_ARGB) + { + int x, y, wid, hei; ++ XFixesIntersectRegion(dpy, w->borderClip, w->borderClip, w->borderSize); ++ XFixesSetPictureClipRegion(dpy, rootBuffer, 0, 0, w->borderClip); + #if HAS_NAME_WINDOW_PIXMAP + x = w->a.x; + y = w->a.y;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805201347.w4KDl8Dn048992>