changeset 455:40bb32c3789a trunk

[svn] Possibly play nicer with X11 in the skinning engine's event loop.
author nenolod
date Tue, 17 Jan 2006 12:39:37 -0800
parents 7ad9455afaaa
children ffd68c74022b
files audacious/mainwin.c
diffstat 1 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/mainwin.c	Mon Jan 16 21:39:45 2006 -0800
+++ b/audacious/mainwin.c	Tue Jan 17 12:39:37 2006 -0800
@@ -3336,11 +3336,9 @@
     else
         count--;
 
-    draw_playlist_window(mainwin_force_redraw);
-    draw_equalizer_window(mainwin_force_redraw);
-
-    /* what is this for? see below. --nenolod */
     mainwin_force_redraw = FALSE;
+    draw_playlist_window(FALSE);
+    draw_equalizer_window(FALSE);
 
     if (mainwin_title_text) {
         G_LOCK(mainwin_title);
@@ -3351,13 +3349,6 @@
 
         mainwin_set_info_text();
         playlistwin_update_list();
-
-	/* set mainwin_force_redraw so that the windows are redrawn
-	 * when the title_text has changed. (new song), this should
-	 * enforce updates of the playlist window. --nenolod
-	 */
-	mainwin_force_redraw = TRUE;
-        draw_playlist_window(mainwin_force_redraw);
     }
 
     GDK_THREADS_LEAVE();