changeset 3971:15b0d5b2de4d

[gaim-migrate @ 4155] win32: serv_got_im causes conv window to flash when not in focus. This uses FlashWindowEx, which is only supported on Win98+ and WinNT5+. For the time being this will cause a runtime error on Windows versions not supported. Runtime Winver check will resolve this. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 16 Nov 2002 01:12:30 +0000
parents 3bc436a24548
children f9e961773058
files src/server.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Sat Nov 16 01:07:25 2002 +0000
+++ b/src/server.c	Sat Nov 16 01:12:30 2002 +0000
@@ -771,6 +771,9 @@
 			set_convo_name(cnv, name);
 			
 			write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len);
+#ifdef _WIN32
+			wgaim_im_blink(cnv->window);
+#endif
 		}
 	}
 	plugin_event(event_im_displayed_rcvd, gc, name, message, flags, mtime);