comparison src/audacious/ui_playlist.c @ 4139:6701c5bf39ca

fix playlistwin resize
author Tomasz Mon <desowin@gmail.com>
date Mon, 31 Dec 2007 16:56:26 +0100
parents d34e16f45a29
children f320e2c2bfc5
comparison
equal deleted inserted replaced
4136:c1fd1dfaa53d 4139:6701c5bf39ca
677 if (event->x + playlistwin_resize_x != playlistwin_get_width() || 677 if (event->x + playlistwin_resize_x != playlistwin_get_width() ||
678 event->y + playlistwin_resize_y != playlistwin_get_height()) 678 event->y + playlistwin_resize_y != playlistwin_get_height())
679 { 679 {
680 playlistwin_resize(event->x + playlistwin_resize_x, 680 playlistwin_resize(event->x + playlistwin_resize_x,
681 event->y + playlistwin_resize_y); 681 event->y + playlistwin_resize_y);
682 gdk_window_resize(playlistwin->window,
683 cfg.playlist_width, playlistwin_get_height());
684 gdk_flush();
682 } 685 }
683 gdk_window_resize(playlistwin->window,
684 cfg.playlist_width, cfg.playlist_height);
685 } 686 }
686 else if (dock_is_moving(GTK_WINDOW(playlistwin))) 687 else if (dock_is_moving(GTK_WINDOW(playlistwin)))
687 dock_move_motion(GTK_WINDOW(playlistwin), event); 688 dock_move_motion(GTK_WINDOW(playlistwin), event);
688 gdk_flush();
689 689
690 while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent); 690 while ((gevent = gdk_event_get()) != NULL) gdk_event_free(gevent);
691 } 691 }
692 692
693 static void 693 static void