gfx/cairo/disable-server-gradients.patch

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 commit 31579379422b75c3fe01b75d363e03f9b1e85604
     2 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
     3 Date:   Fri Mar 12 16:07:59 2010 -0500
     5     xlib bugs
     7 diff --git a/src/cairo-xlib-display.c b/src/cairo-xlib-display.c
     8 index a7a40b8..566d9fb 100644
     9 --- a/src/cairo-xlib-display.c
    10 +++ b/src/cairo-xlib-display.c
    11 @@ -407,6 +407,10 @@ _cairo_xlib_display_get (Display *dpy,
    12  	display->buggy_pad_reflect = TRUE;
    13      }
    15 +    /* gradients don't seem to work */
    16 +    display->buggy_gradients = TRUE;
    17 +
    18 +
    19      /* XXX workaround; see https://bugzilla.mozilla.org/show_bug.cgi?id=413583 */
    20      /* If buggy_repeat_force == -1, then initialize.
    21       *    - set to -2, meaning "nothing was specified", and we trust the above detection.

mercurial