diff options
author | Rafael Antognolli <rafael.antognolli@intel.com> | 2013-11-26 14:10:15 -0200 |
---|---|---|
committer | Rafael Antognolli <rafael.antognolli@intel.com> | 2013-11-26 14:10:15 -0200 |
commit | 662d086837d681fa35100a3c0d9a9d0d608c1927 (patch) | |
tree | e5638c55a6546a18ba5dde3e167a6207791b33fe | |
parent | dbb9cf9765904a8b16022e9828414da3334e86f6 (diff) | |
download | efl-662d086837d681fa35100a3c0d9a9d0d608c1927.tar.gz |
ecore_evas/wayland: Update comments inside rotation code.
-rw-r--r-- | src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index 849b38e9eb..efdea8397f 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -367,8 +367,11 @@ _rotation_do(Ecore_Evas *ee, int rotation, int resize) ecore_evas_size_step_set(ee, steph, stepw); /* 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()); } @@ -381,8 +384,9 @@ _rotation_do(Ecore_Evas *ee, int rotation, int resize) ee->rotation = rotation; /* 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()); |