# HG changeset patch # User nenolod # Date 1160113269 25200 # Node ID b64edd53d3a93b87b73d82e399e3935477a31f4c # Parent 58bb44ed4edcb0da049db58ecbbbe177674471fc [svn] - actually, apparently we need that... fucking apple diff -r 58bb44ed4edc -r b64edd53d3a9 ChangeLog --- a/ChangeLog Thu Oct 05 22:38:01 2006 -0700 +++ b/ChangeLog Thu Oct 05 22:41:09 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-06 05:38:01 +0000 William Pitcock + revision [2635] + - only set window hints after the resize + + trunk/audacious/mainwin.c | 6 ------ + 1 file changed, 6 deletions(-) + + 2006-10-06 05:21:35 +0000 George Averill revision [2633] - Add a background behind the title scroller in the main window. diff -r 58bb44ed4edc -r b64edd53d3a9 audacious/mainwin.c --- a/audacious/mainwin.c Thu Oct 05 22:38:01 2006 -0700 +++ b/audacious/mainwin.c Thu Oct 05 22:41:09 2006 -0700 @@ -954,6 +954,12 @@ /* window size, mainwinWidth && mainwinHeight properties */ if (bmp_active_skin->properties.mainwin_height && bmp_active_skin->properties.mainwin_width) { + gdk_window_set_hints(mainwin->window, 0, 0, + bmp_active_skin->properties.mainwin_width, + cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height, + bmp_active_skin->properties.mainwin_width, + cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height, + GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE); gdk_window_resize(mainwin->window, bmp_active_skin->properties.mainwin_width, cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height); gdk_window_set_hints(mainwin->window, 0, 0,