summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-10-28 10:36:08 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-10-28 10:36:08 +0200
commit58186c4ab88ed0c7b01ba6c6afe7a9d0a6007cf0 (patch)
treed230cbfcf457dc888d56c3a9712b5ffa1287f93d
parent8658dc58fe7ffb9ecff8fbcc246d8a69f00fd5d9 (diff)
More fix for blinking resize cursor near marker.
-rw-r--r--src/bin/egui_gui/editor.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index 2ae2548..5965cb4 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -505,10 +505,9 @@ _marker_mouse_move(void *data, Eo *marker EINA_UNUSED, const Eo_Event_Descriptio
505 /* in base object cursor description is save. 505 /* in base object cursor description is save.
506 * base object is win's Eo for widget, 506 * base object is win's Eo for widget,
507 * and canvas(main window) for frame. */ 507 * and canvas(main window) for frame. */
508 const Eo *base_obj; 508 const Eo *base_obj = g->main_win->main_win;
509 if (IS_MAIN(wdg)) 509 if (IS_MAIN(wdg))
510 { 510 {
511 base_obj = canvas_get();
512 Main_Wdg_Info *wi = wdg_data_get(wdg, MAIN_WDG_INFO); 511 Main_Wdg_Info *wi = wdg_data_get(wdg, MAIN_WDG_INFO);
513 weo = main_wdg_info_frame_get(wi); 512 weo = main_wdg_info_frame_get(wi);
514 513
@@ -524,8 +523,6 @@ _marker_mouse_move(void *data, Eo *marker EINA_UNUSED, const Eo_Event_Descriptio
524 } 523 }
525 else 524 else
526 { 525 {
527 const Gui_Widget *win_wdg = wdg_main_wdg_get(wdg);
528 base_obj = session_eo_get(session, win_wdg);
529 /* Eo object of widget. */ 526 /* Eo object of widget. */
530 weo = session_eo_get(session, wdg); 527 weo = session_eo_get(session, wdg);
531 eo_do(weo, evas_obj_size_hint_min_get(&minw, &minh)); 528 eo_do(weo, evas_obj_size_hint_min_get(&minw, &minh));