diff options
Diffstat (limited to 'nuttx/graphics/nxmu/nxmu_reportposition.c')
-rw-r--r-- | nuttx/graphics/nxmu/nxmu_reportposition.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxmu/nxmu_reportposition.c b/nuttx/graphics/nxmu/nxmu_reportposition.c index 7f8ebb3b7..858f3ab82 100644 --- a/nuttx/graphics/nxmu/nxmu_reportposition.c +++ b/nuttx/graphics/nxmu/nxmu_reportposition.c @@ -88,8 +88,8 @@ void nxfe_reportposition(FAR struct nxbe_window_s *wnd) outmsg.msgid = NX_CLIMSG_NEWPOSITION; outmsg.wnd = wnd; - outmsg.pos.x = wnd->origin.x; - outmsg.pos.y = wnd->origin.y; + outmsg.pos.x = wnd->bounds.pt1.x; + outmsg.pos.y = wnd->bounds.pt1.y; nxgl_rectsize(&outmsg.size, &wnd->bounds); |