xcompmgr -- Proposal 2: ARGB-window dropoff shadow

Eeri Kask Eeri.Kask at inf.tu-dresden.de
Wed Sep 23 12:10:32 PDT 2009


Hello,

it appears xcompmgr does not decorate windows with ARGB 32-bit
visuals; which at first sight seems probably a preference of
artistic taste than a result of engineering considerations. :-)

By the attached tweak may I suggest to turn this fixed setting into
an optional choice by command line boolean parameter  '-A'.  I.e. in
this case the computed shadow picture is cleaned in the middle
partially, in particular pixel-exactly covering the area of the
spoken window including its border, by XRenderFillRectangle() in
win_extents() in xcompmgr.c.

The attached patch should apply cleanly ontop of the 'Proposal:...'
as posted on

http://lists.freedesktop.org/archives/xorg/2009-September/047302.html

otherwise the hunk


@@ -1944,7 +1954,7 @@
     int		    o;
     char	    *rootfill = NULL;

-    while ((o = getopt (argc, argv, "D:I:O:d:r:o:l:t:b:scnfFCaS"))
!= -1)
+    while ((o = getopt (argc, argv, "D:I:O:d:r:o:l:t:b:scnfFCaSA"))
!= -1)
     {
 	switch (o) {
 	case 'd':


needs a minor edit.


Greetings,

    Eeri Kask

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xcompmgr.c.ARGBshadows.diff
URL: <http://lists.x.org/archives/xorg/attachments/20090923/0a81cd53/attachment.ksh>


More information about the xorg mailing list