# HG changeset patch # User William Pitcock # Date 1194376778 21600 # Node ID ab65ece7aeb936fc2cd4a98bced7bab2bb5f455c # Parent c79bf496191f32ea98a4c053532f64468bdbfde2 possible fix diff -r c79bf496191f -r ab65ece7aeb9 src/audacious/ui_main.c --- 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