# HG changeset patch # User nenolod # Date 1152524224 25200 # Node ID 3ede6ff9794fcf83a47ad427121b15bf1047f72e # Parent 5767c05ce90008378d4eb311be45289499e706f0 [svn] - provide some additional debugging hints with gdk_error_trap_push/pop. diff -r 5767c05ce900 -r 3ede6ff9794f ChangeLog --- a/ChangeLog Mon Jul 10 02:34:37 2006 -0700 +++ b/ChangeLog Mon Jul 10 02:37:04 2006 -0700 @@ -1,3 +1,13 @@ +2006-07-10 09:34:37 +0000 William Pitcock + revision [1672] + - do transparency the X11 way + + + Changes: Modified: + +31 -22 trunk/audacious/playlist_list.c + +2 -2 trunk/audacious/playlist_list.h + + 2006-07-10 08:18:38 +0000 William Pitcock revision [1670] - some improvements to song_change, still sucky diff -r 5767c05ce900 -r 3ede6ff9794f audacious/playlist_list.c --- a/audacious/playlist_list.c Mon Jul 10 02:34:37 2006 -0700 +++ b/audacious/playlist_list.c Mon Jul 10 02:37:04 2006 -0700 @@ -102,8 +102,12 @@ gdk_draw_pixmap(p, gc, in, x, y, 0, 0, w, h); + gdk_error_trap_push(); + ximg = gdk_drawable_copy_to_image(in, NULL, x, y, 0, 0, w, h); /* copy */ + gdk_error_trap_pop(); + shade_gdkimage_generic(gdk_drawable_get_visual(GDK_WINDOW(playlistwin->window)), ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel);