ecore_evas/wayland: Update comments inside rotation code.

This commit is contained in:
Rafael Antognolli 2013-11-26 14:10:15 -02:00
parent dbb9cf9765
commit 662d086837
1 changed files with 8 additions and 4 deletions

View File

@ -368,7 +368,10 @@ _rotation_do(Ecore_Evas *ee, int rotation, int resize)
/* send a mouse_move process
*
* NB: Is This Really Needed ?? */
* NB: Is This Really Needed ?
* Yes, it's required to update the mouse position, relatively to
* widgets. After a rotation change, e.g., the mouse might not be over
* a button anymore. */
_ecore_evas_mouse_move_process(ee, ee->mouse.x, ee->mouse.y,
ecore_loop_time_get());
}
@ -382,7 +385,8 @@ _rotation_do(Ecore_Evas *ee, int rotation, int resize)
/* send a mouse_move process
*
* NB: Is This Really Needed ?? */
* NB: Is This Really Needed ? Yes, it's required to update the mouse
* position, relatively to widgets. */
_ecore_evas_mouse_move_process(ee, ee->mouse.x, ee->mouse.y,
ecore_loop_time_get());