diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-27 08:06:02 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-27 08:06:02 +0200 |
commit | 34144faca5e0bb09ccc4cee4e298cb80dff740dd (patch) | |
tree | e883c3565dd98d88b3b0366d1e420c267a360104 /plugins | |
parent | 2572d46e6752764084992acb36b84ab6bd290c20 (diff) |
fix xtray blinking on unselected events
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/xtray/callbacks.cpp | 3 |
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); - } /***********************************/ |