changeset 1331:8e3f13cc95ff trunk

[svn] - Don't show popups if the pointer isn't even in the playlist window.
author nhjm449
date Mon, 26 Jun 2006 22:35:54 -0700
parents 78f239f65a35
children 55e16d7d2de2
files ChangeLog audacious/ui_fileinfo.c
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 26 21:28:56 2006 -0700
+++ b/ChangeLog	Mon Jun 26 22:35:54 2006 -0700
@@ -1,3 +1,12 @@
+2006-06-27 04:28:56 +0000  Derek Pomery <nemo@m8y.org>
+  revision [1572]
+  added free
+  
+
+  Changes:        Modified:
+  +2 -0           trunk/audacious/ui_fileinfo.c  
+
+
 2006-06-25 02:00:08 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [1570]
   Updated italian translation (and stop translating a set of line separators), by Diego "Flameeyes" Petteno from Gentoo.
--- a/audacious/ui_fileinfo.c	Mon Jun 26 21:28:56 2006 -0700
+++ b/audacious/ui_fileinfo.c	Mon Jun 26 22:35:54 2006 -0700
@@ -179,7 +179,9 @@
 	static gint prev_x = 0, prev_y = 0, ctr = 0;
 	gboolean skip = FALSE;
 
-	if (playlistwin_is_shaded() || playlistwin_list->pl_tooltips == FALSE)
+	if (playlistwin_is_shaded() || playlistwin_list->pl_tooltips == FALSE
+		|| gdk_window_at_pointer(NULL, NULL) != playlistwin->window
+		|| gdk_window_at_pointer(NULL, NULL) == NULL)
 	{
 		ctr = 0;
 		return TRUE;