summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/rtgui/server/topwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rtgui/server/topwin.c b/components/rtgui/server/topwin.c
index a655d5a56e..fa1491e091 100644
--- a/components/rtgui/server/topwin.c
+++ b/components/rtgui/server/topwin.c
@@ -938,7 +938,7 @@ void rtgui_topwin_remove_monitor_rect(struct rtgui_win* wid, rtgui_rect_t* rect)
*/
void rtgui_topwin_do_clip(rtgui_widget_t* widget)
{
- rtgui_toplevel_t* wid;
+ rtgui_widget_t* wid;
struct rtgui_rect* rect;
struct rtgui_topwin* topwin;
struct rtgui_list_node* node;