changeset 4139:6701c5bf39ca

fix playlistwin resize
author Tomasz Mon <desowin@gmail.com>
date Mon, 31 Dec 2007 16:56:26 +0100
parents c1fd1dfaa53d
children 7416ba3939ef
files src/audacious/ui_playlist.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_playlist.c	Sun Dec 30 22:22:15 2007 +0100
+++ b/src/audacious/ui_playlist.c	Mon Dec 31 16:56:26 2007 +0100
@@ -679,13 +679,13 @@
         {
             playlistwin_resize(event->x + playlistwin_resize_x,
                                event->y + playlistwin_resize_y);
+            gdk_window_resize(playlistwin->window,
+                              cfg.playlist_width, playlistwin_get_height());
+            gdk_flush();
         }
-        gdk_window_resize(playlistwin->window,
-                          cfg.playlist_width, cfg.playlist_height);
     }
     else if (dock_is_moving(GTK_WINDOW(playlistwin)))
         dock_move_motion(GTK_WINDOW(playlistwin), event);
-    gdk_flush();
 
     while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent);
 }