提交 298a15f3 编写于 作者: B bernard.xiong

fix rectangle update issue in the end of hardware dc drawing.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@677 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 e2e93e72
......@@ -201,7 +201,7 @@ static rt_bool_t rtgui_dc_hw_fini(struct rtgui_dc* dc)
/* send to server to end drawing */
struct rtgui_event_update_end eupdate;
RTGUI_EVENT_UPDATE_END_INIT(&(eupdate));
eupdate.rect = RTGUI_WIDGET(top)->extent;
eupdate.rect = hw->owner->extent;
rtgui_thread_send(top->server, (struct rtgui_event*)&eupdate, sizeof(eupdate));
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册