# HG changeset patch # User nenolod # Date 1160059183 25200 # Node ID e4e4fadfb2a94d2879d6b0a35fed4dae72751048 # Parent b469c6c567a49ac0d71a6ef7e2e6e3db5a5f481a [svn] - fixes for resize bug diff -r b469c6c567a4 -r e4e4fadfb2a9 ChangeLog --- a/ChangeLog Thu Oct 05 07:09:01 2006 -0700 +++ b/ChangeLog Thu Oct 05 07:39:43 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-05 14:09:01 +0000 William Pitcock + revision [2613] + - use gtk_window_present() to make X render the right sized skin + + trunk/audacious/mainwin.c | 1 + + 1 file changed, 1 insertion(+) + + 2006-10-05 13:54:42 +0000 William Pitcock revision [2611] - include TinyPlayer skin with the main distribution diff -r b469c6c567a4 -r e4e4fadfb2a9 audacious/mainwin.c --- a/audacious/mainwin.c Thu Oct 05 07:09:01 2006 -0700 +++ b/audacious/mainwin.c Thu Oct 05 07:39:43 2006 -0700 @@ -960,9 +960,9 @@ bmp_active_skin->properties.mainwin_width, bmp_active_skin->properties.mainwin_height, GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE); - gtk_window_resize(GTK_WINDOW(mainwin), bmp_active_skin->properties.mainwin_width, + gdk_window_resize(mainwin->window, bmp_active_skin->properties.mainwin_width, bmp_active_skin->properties.mainwin_height); - gtk_window_present(GTK_WINDOW(mainwin)); + gdk_flush(); } /* visibility attributes */