summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-07-27 08:06:02 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-07-27 08:06:02 +0200
commit34144faca5e0bb09ccc4cee4e298cb80dff740dd (patch)
treee883c3565dd98d88b3b0366d1e420c267a360104
parent2572d46e6752764084992acb36b84ab6bd290c20 (diff)
fix xtray blinking on unselected events
-rw-r--r--plugins/xtray/callbacks.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/xtray/callbacks.cpp b/plugins/xtray/callbacks.cpp
index 636c114e..18547ab3 100644
--- a/plugins/xtray/callbacks.cpp
+++ b/plugins/xtray/callbacks.cpp
@@ -167,10 +167,9 @@ int event_cb(char *word[], void *userdata)
 		free(szTemp);

 	}

 

-	if(g_dwPrefs & (1<<PREF_BLINK))

+	if(g_dwPrefs & (1<<PREF_BLINK) && (g_dwPrefs & (1<<iEvent)))

 	{

 		BlinkIcon(g_hXchatWnd, 1, g_hIcons[0], g_hIcons[(iEvent+1)], 700, 5);

-		

 	}

 

 	/***********************************/