Instead of having replaced commit state with next one, this patch
accumulates commit state. Otherwise, cached state would be replaced by
the pending state.
If a state needs to be replaced, then caller can initialie the commit
state before the call to surface_state_move().
Change-Id: I92072b38989f14fa4db84d95329d058cab6614f2
wl_list_init(&next->frame_callback_list);
}
- // FIXME
- // state->committed |= next->committed; ??
- state->committed = next->committed;
+ state->committed |= next->committed;
next->committed = 0;
}