[evolution-patches] fix for grab time.



We were previously passing 0 for the grab time in a call to
gdk_pointer_grab.  This fixes that and the bad things it was causing.

--Larry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1791
diff -u -p -r1.1791 ChangeLog
--- ChangeLog	6 May 2003 11:04:57 -0000	1.1791
+++ ChangeLog	7 May 2003 23:01:27 -0000
@@ -1,3 +1,8 @@
+2003-05-07  Larry Ewing  <lewing ximian com>
+
+	* gtkhtml.c (button_press_event): pass event->time to
+	gdk_pointer_grab instead of 0.
+
 2003-05-02  Radek Doulik  <rodo ximian com>
 
 	* htmlsearch.h: make start_pos and end_pos signed
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.507
diff -u -p -r1.507 gtkhtml.c
--- gtkhtml.c	6 May 2003 11:03:16 -0000	1.507
+++ gtkhtml.c	7 May 2003 23:01:31 -0000
@@ -1498,7 +1498,7 @@ button_press_event (GtkWidget *widget,
 							      (GDK_BUTTON_RELEASE_MASK
 							       | GDK_BUTTON_MOTION_MASK
 							       | GDK_POINTER_MOTION_HINT_MASK),
-							      NULL, NULL, 0) == 0) {
+							      NULL, NULL, event->time) == 0) {
 						html->selection_x1 = x;
 						html->selection_y1 = y;
 					}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]