snap-constraint: Fix allocation for CLUTTER_SNAP_EDGE_RIGHT
authorBastian Winkler <buz@netbuz.org>
Tue, 5 Jul 2011 15:31:41 +0000 (17:31 +0200)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 18 Jul 2011 12:43:29 +0000 (13:43 +0100)
commitc9cbe58343d4202e40d8ffd898712effca08381e
tree31b9ce28ddafbf8689617313ea30b5bcda50386f
parentf1f5d7658f64adc527e1a202b13307f90258271f
snap-constraint: Fix allocation for CLUTTER_SNAP_EDGE_RIGHT

Use source_with instead of source_height to calculate the the x1/x2
positions for CLUTTER_SNAP_EDGE_RIGHT

https://bugzilla.gnome.org/show_bug.cgi?id=654024
clutter/clutter-snap-constraint.c