changeset 1829:e4e4fadfb2a9 trunk

[svn] - fixes for resize bug
author nenolod
date Thu, 05 Oct 2006 07:39:43 -0700
parents b469c6c567a4
children 93b3704250e9
files ChangeLog audacious/mainwin.c
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 <nenolod@nenolod.net>
+  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 <nenolod@nenolod.net>
   revision [2611]
   - include TinyPlayer skin with the main distribution
--- 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 */