+Tue Aug 31 23:24:49 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
+ a drag if the left button is pressed. (#151490, Frederic Croszat)
+
Tue Aug 31 23:20:58 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
+Tue Aug 31 23:24:49 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
+ a drag if the left button is pressed. (#151490, Frederic Croszat)
+
Tue Aug 31 23:20:58 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
+Tue Aug 31 23:24:49 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
+ a drag if the left button is pressed. (#151490, Frederic Croszat)
+
Tue Aug 31 23:20:58 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
+Tue Aug 31 23:24:49 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
+ a drag if the left button is pressed. (#151490, Frederic Croszat)
+
Tue Aug 31 23:20:58 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
if (!GTK_WIDGET_HAS_FOCUS (widget))
gtk_widget_grab_focus (widget);
- private_data->in_drag = 1;
- private_data->drag_start_x = x;
- private_data->drag_start_y = y;
+ if (event->button == 1)
+ {
+ private_data->in_drag = 1;
+ private_data->drag_start_x = x;
+ private_data->drag_start_y = y;
+ }
gtk_calendar_select_and_focus_day (calendar, day);
}