Index: src/vte.c
===================================================================
RCS file: /cvs/gnome/vte/src/vte.c,v
retrieving revision 1.404
diff -p -u -r1.404 vte.c
--- src/vte.c	2 May 2004 06:43:01 -0000	1.404
+++ src/vte.c	8 Oct 2004 00:03:56 -0000
@@ -10113,6 +10113,8 @@ vte_terminal_motion_notify(GtkWidget *wi
 	GdkModifierType modifiers;
 	gboolean event_mode;
 
+	gdk_window_cancel_activate (widget->window);
+
 	g_return_val_if_fail(VTE_IS_TERMINAL(widget), FALSE);
 	terminal = VTE_TERMINAL(widget);
 
