mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
conform/anchors: Fix a dubious test
Changing the scale gravity should not affect the scale factors as well; it was just a side-effect of the wrong implementation of the setter.
This commit is contained in:
parent
5a77f814ab
commit
767b14fb2d
@ -380,9 +380,9 @@ test_scale_center (TestState *state)
|
||||
g_assert (scale_x == 4.0);
|
||||
g_assert (scale_y == 2.0);
|
||||
g_assert (gravity == gravities[i].gravity);
|
||||
assert_notifications (NOTIFY_SCALE_X | NOTIFY_SCALE_Y
|
||||
| NOTIFY_SCALE_CENTER_X | NOTIFY_SCALE_CENTER_Y
|
||||
| NOTIFY_SCALE_GRAVITY);
|
||||
assert_notifications (NOTIFY_SCALE_CENTER_X |
|
||||
NOTIFY_SCALE_CENTER_Y |
|
||||
NOTIFY_SCALE_GRAVITY);
|
||||
assert_coords (state,
|
||||
100 - gravities[i].x_pos * 3,
|
||||
200 - gravities[i].y_pos,
|
||||
|
Loading…
Reference in New Issue
Block a user