Ensure that fixed positions always start at 0,0
authorAlexander Larsson <alexl@redhat.com>
Thu, 7 Jun 2012 14:32:01 +0000 (16:32 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 7 Jun 2012 14:32:01 +0000 (16:32 +0200)
commitfd8dcfcc565f1f3130cbd1c1b59a870bda26d518
treefc8785395ce7f0ec0a1e01a4489416699c15b153
parent962bcb12224685b3a93fe5b449331d5d477eaf87
Ensure that fixed positions always start at 0,0

Fixed positions are defined to be initialized at 0,0 whenever
enabled, by setting fixed_position_enabled to true, or by setting
just one of x/y. This normally happens in the defaults, but we need
to make sure it also happens if a fixed position was once set but
then disabled. We do this by always resetting it back to 0,0 when
fixed_position_set is unset.
clutter/clutter-actor.c