shadow_opacity.patch

Giovanni grifis87 at virgilio.it
Tue Aug 31 02:58:30 PDT 2004


it rejects it:


patching file xcompmgr.c
Hunk #2 FAILED at 715.
Hunk #3 succeeded at 1854 with fuzz 2.
1 out of 3 hunks FAILED -- saving rejects to file xcompmgr.c.rej
patch unexpectedly ends in middle of line


xcompmgr.c.rej

  GNU nano 1.3.2                                                      File: 
xcompmgr.c.rej


***************
*** 715,721 ****
    {
        double opacity = SHADOW_OPACITY;
        if (w->mode == WINDOW_TRANS)
-    opacity = opacity * TRANS_OPACITY;
        w->shadow = shadow_picture (dpy, opacity,
        w->a.width + w->a.border_width * 2,
        w->a.height + w->a.border_width * 2,
--- 715,721 ----
    {
        double opacity = SHADOW_OPACITY;
        if (w->mode == WINDOW_TRANS)
+    opacity = opacity * ((double)w->opacity)/((double)OPAQUE);
        w->shadow = shadow_picture (dpy, opacity,
        w->a.width + w->a.border_width * 2,
        w->a.height + w->a.border_width * 2,



More information about the xorg mailing list