There was a bug that the E_EVENT_CLIENT_ROTATION_CHANGE_BEGIN event is sent twice, but
E_EVENT_CLIENT_ROTATION_CHANGE_CANCEL or E_EVENT_CLIENT_ROTATION_CHANGE_END is sent just once.
Change-Id: I897770824c818a57ae4bf7703d98ea6987d47d82
}
eina_list_free(list);
- _e_client_event_client_rotation_change_begin_send(ec);
+ if (!e_client_rotation_is_progress(ec))
+ {
+ _e_client_event_client_rotation_change_begin_send(ec);
+ }
ec->e.state.rot.pending_change_request = 0;
ec->e.state.rot.ang.next = rotation;