netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=cda6a898a557ed0834b41dea7fe4ea978609b334

commit cda6a898a557ed0834b41dea7fe4ea978609b334
Author: Alastair Poole <m...@alastairpoole.com>
Date:   Tue Nov 2 21:39:01 2021 +0000

    cpu: duplicate and wrong callback event
---
 src/bin/ui/ui_cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/ui_cpu.c b/src/bin/ui/ui_cpu.c
index 0718c12..5f202f2 100644
--- a/src/bin/ui/ui_cpu.c
+++ b/src/bin/ui/ui_cpu.c
@@ -280,7 +280,7 @@ ui_cpu_win_add(Evisum_Ui *ui)
    evas_object_event_callback_add(scr, EVAS_CALLBACK_MOUSE_MOVE, 
_win_mouse_move_cb, pd);
    evas_object_event_callback_add(scr, EVAS_CALLBACK_KEY_DOWN, 
_win_key_down_cb, ui);
    evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, _win_resize_cb, 
ui);
-   evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE,  _win_move_cb, 
ui);
+   evas_object_event_callback_add(win, EVAS_CALLBACK_MOVE,  _win_move_cb, ui);
    evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _win_del_cb, pd);
 
    if ((ui->cpu.width > 0) && (ui->cpu.height > 0))

-- 


Reply via email to