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: Ica751c2e613d85ab13e2ac74556e4563af545477
}
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;