Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gimp/ChangeLog,v
retrieving revision 1.11619
diff -u -p -r1.11619 ChangeLog
--- ChangeLog	5 Sep 2005 00:37:24 -0000	1.11619
+++ ChangeLog	7 Sep 2005 20:17:20 -0000
@@ -1,3 +1,10 @@
+2005-09-07  Robert Ögren  <gtk@roboros.com>
+
+	* app/display/gimpdisplayshell.c (gimp_display_shell_new):
+	Work around problem creating guides with a tablet on Windows
+	by enabling extension events for the rulers.
+	Fixes the first problem described in bug #168516.
+
 2005-09-05  Michael Natterer  <mitch@gimp.org>
 
 	* app/actions/edit-actions.c
Index: app/display/gimpdisplayshell.c
===================================================================
RCS file: /cvs/gnome/gimp/app/display/gimpdisplayshell.c,v
retrieving revision 1.370
diff -u -p -r1.370 gimpdisplayshell.c
--- app/display/gimpdisplayshell.c	6 Aug 2005 11:18:25 -0000	1.370
+++ app/display/gimpdisplayshell.c	7 Sep 2005 20:17:21 -0000
@@ -854,6 +854,11 @@ gimp_display_shell_new (GimpDisplay     
 
   gimp_help_set_help_data (shell->vrule, NULL, GIMP_HELP_IMAGE_WINDOW_RULER);
 
+  /* Workaround for GTK+ Wintab bug on Windows when creating guides by
+   * dragging from the rulers. See bug #168516. */
+  gtk_widget_set_extension_events (shell->hrule, GDK_EXTENSION_EVENTS_ALL);
+  gtk_widget_set_extension_events (shell->vrule, GDK_EXTENSION_EVENTS_ALL);
+  
   /*  the canvas  */
   gtk_widget_set_size_request (shell->canvas, n_width, n_height);
   gtk_widget_set_events (shell->canvas, GIMP_DISPLAY_SHELL_CANVAS_EVENT_MASK);
