Mercurial > audlegacy
changeset 1840:b64edd53d3a9 trunk
[svn] - actually, apparently we need that... fucking apple
author | nenolod |
---|---|
date | Thu, 05 Oct 2006 22:41:09 -0700 |
parents | 58bb44ed4edc |
children | 7d0cd3fab6a2 |
files | ChangeLog audacious/mainwin.c |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <nenolod@nenolod.net> + 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 <nhjm449@gmail.com> revision [2633] - Add a background behind the title scroller in the main window.
--- 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,