changeset 3906:ab65ece7aeb9

possible fix
author William Pitcock <nenolod@atheme.org>
date Tue, 06 Nov 2007 13:19:38 -0600
parents c79bf496191f
children e80d50706e70
files src/audacious/ui_main.c
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_main.c	Tue Nov 06 13:13:15 2007 -0600
+++ b/src/audacious/ui_main.c	Tue Nov 06 13:19:38 2007 -0600
@@ -1674,8 +1674,6 @@
     if (cfg.player_shaded)
         ui_vis_clear_data(mainwin_vis);
 
-    mainwin_set_shape_mask();
-
     if (cfg.show_wm_decorations) {
         if (cfg.player_x != -1 && cfg.save_window_position)
             gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y);
@@ -1690,17 +1688,12 @@
       nullmask = NULL;
     }
 
-    gtk_window_resize(GTK_WINDOW(mainwin),
-                         !bmp_active_skin->properties.mainwin_width ? PLAYER_WIDTH :
-                bmp_active_skin->properties.mainwin_width,
-                         !bmp_active_skin->properties.mainwin_height ? PLAYER_HEIGHT :
-                bmp_active_skin->properties.mainwin_height);
-
     if (cfg.player_x != -1 && cfg.save_window_position)
         gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y);
 
     gtk_window_present(GTK_WINDOW(mainwin));
     mainwin_refresh_hints();
+    mainwin_set_shape_mask();
 }
 
 void