From 0f0d60e9aff0ac59c14e98db8d52abf7da3edd51 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 6 Dec 2008 14:41:24 +0000 Subject: Correct size of background window git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1423 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/graphics/nxsu/nx_open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/graphics/nxsu/nx_open.c') diff --git a/nuttx/graphics/nxsu/nx_open.c b/nuttx/graphics/nxsu/nx_open.c index 15efd3dbe..901b77109 100644 --- a/nuttx/graphics/nxsu/nx_open.c +++ b/nuttx/graphics/nxsu/nx_open.c @@ -139,8 +139,8 @@ static inline int nxsu_setup(FAR struct fb_vtable_s *fb, fe->be.bkgd.be = &fe->be; fe->be.bkgd.cb = &g_bkgdcb; - fe->be.bkgd.bounds.pt2.x = fe->be.vinfo.xres; - fe->be.bkgd.bounds.pt2.y = fe->be.vinfo.yres; + fe->be.bkgd.bounds.pt2.x = fe->be.vinfo.xres - 1; + fe->be.bkgd.bounds.pt2.y = fe->be.vinfo.yres - 1; /* Complete initialization of the server state structure. The * window list contains only one element: The background window -- cgit v1.2.3