# HG changeset patch # User Herman Bloggs # Date 1037409150 0 # Node ID 15b0d5b2de4df741a0ed65d41683ab12b21be513 # Parent 3bc436a245488408aacb415b5bb5d4b31cf3c957 [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 diff -r 3bc436a24548 -r 15b0d5b2de4d src/server.c --- 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);