diff options
Diffstat (limited to 'nuttx/graphics/nxsu/nxsu_redrawreq.c')
-rw-r--r-- | nuttx/graphics/nxsu/nxsu_redrawreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxsu/nxsu_redrawreq.c b/nuttx/graphics/nxsu/nxsu_redrawreq.c index 3226c0c2d..8cd2e8aa2 100644 --- a/nuttx/graphics/nxsu/nxsu_redrawreq.c +++ b/nuttx/graphics/nxsu/nxsu_redrawreq.c @@ -93,7 +93,7 @@ void nxfe_redrawreq(FAR struct nxbe_window_s *wnd, FAR const struct nxgl_rect_s { /* Convert the frame rectangle to a window-relative rectangle */ - nxgl_rectoffset(&relrect, rect, -wnd->origin.x, -wnd->origin.y); + nxgl_rectoffset(&relrect, rect, -wnd->bounds.pt1.x, -wnd->bounds.pt1.y); /* And request the redraw */ |