awesome/lib/gears
Uli Schlachter 41bc77d64c Bump minimum lgi dependency to 0.7.0
Before commit 1b2826 in lgi, the get_rgba() function on cairo SolidPatterns was
specified like this:

    get_rgba = { ret = cairo.Status,
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' } },

The above commit fixed this (without saying so) and the code became:

    get_rgba = { ret = cairo.Status,
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' },
                 { ti.double, dir = 'out' } },

The prototype for the corresponding cairo function is:

cairo_public cairo_status_t
cairo_pattern_get_rgba (cairo_pattern_t *pattern,
                        double *red, double *green,
                        double *blue, double *alpha);

As you see, this functions gets four double* as arguments and it will save its
result via those pointers. Old versions of lgi call this function with too few
arguments and this will cause a segmentation fault when cairo dereferences an
invalid pointer.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-17 17:52:09 +01:00
..
color.lua.in drawin: Only redraw on move with translucent background 2014-03-16 14:58:14 +01:00
debug.lua.in Fix debug.dump 2012-08-31 15:23:56 +02:00
init.lua.in Fix warnings from LDoc 2012-11-19 15:35:32 +01:00
object.lua.in Lots of random documentation fixes 2012-11-19 14:09:10 +01:00
sort.lua.in Ported lib/gears to lua 5.2 2012-06-16 17:37:30 +02:00
surface.lua.in Bump minimum lgi dependency to 0.7.0 2014-03-17 17:52:09 +01:00
wallpaper.lua.in gears.wallpaper: Create smaller image surface (FS#1087) 2013-02-12 15:15:16 +01:00