mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
improve main_loop_simple
This commit is contained in:
parent
9ac9dd0309
commit
8af07e1bbd
@ -1,5 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2022/04/15
|
||||
* 解决在linux-fb,鼠标移动且无按压时,界面上的鼠标指针没有跟着移动的问题(感谢兆坤提供补丁)。
|
||||
|
||||
2022/04/14
|
||||
* 让 windows 的串口也支持 select 的形式(感谢智明提供补丁)。
|
||||
* 还原 app_helper_base.py 脚本的修改(感谢智明提供补丁)。
|
||||
|
@ -106,6 +106,13 @@ ret_t main_loop_post_pointer_event(main_loop_t* l, bool_t pressed, xy_t x, xy_t
|
||||
|
||||
loop->pressed = FALSE;
|
||||
|
||||
return main_loop_queue_event(l, &r);
|
||||
} else {
|
||||
loop->last_x = x;
|
||||
loop->last_y = y;
|
||||
event.e.type = EVT_POINTER_MOVE;
|
||||
r.pointer_event = event;
|
||||
|
||||
return main_loop_queue_event(l, &r);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user