* hildon/hildon-color-chooser.c
(hildon_color_chooser_pointer_motion): Take the widget allocation
into account.
Fixes: NB#124385 (Unable to select exact point in color mixing box
in color palette dialog)
+2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
+
+ * hildon/hildon-color-chooser.c
+ (hildon_color_chooser_pointer_motion): Take the widget allocation
+ into account.
+
+ Fixes: NB#124385 (Unable to select exact point in color mixing box
+ in color palette dialog)
+
2009-06-23 Alejandro G. Castro <alex@igalia.com>
* hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
g_assert (priv);
- x = (gint) event->x;
- y = (gint) event->y;
+ x = (int) event->x + widget->allocation.x;
+ y = (int) event->y + widget->allocation.y;
if (priv->mousestate == 1) {
if (x >= priv->spa.x && x <= priv->spa.x + priv->spa.width &&