X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=utils%2Falpha.c;h=5b18e8594e749748980eb47be1311c0853617a2a;hp=22504fcd93df220d598420a0868c06d0a4336b54;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hpb=ccb7f4903325f92555a9722bba74b58346654ba0 diff --git a/utils/alpha.c b/utils/alpha.c index 22504fcd..5b18e859 100644 --- a/utils/alpha.c +++ b/utils/alpha.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997 +/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997, 2006 * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its @@ -125,7 +125,7 @@ initialize_transparency_colormap (Display *dpy, Colormap cmap, /* clone the default background of the window into our "base" pixel */ all_colors [total_colors - 1].pixel = - get_pixel_resource ("background", "Background", dpy, cmap); + get_pixel_resource (dpy, cmap, "background", "Background"); XQueryColor (dpy, cmap, &all_colors [total_colors - 1]); all_colors [total_colors - 1].pixel = base_pixel;