summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxsu/nx_open.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-06 14:41:24 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-06 14:41:24 +0000
commit0f0d60e9aff0ac59c14e98db8d52abf7da3edd51 (patch)
tree10c0d46de750026bd610c5b3d2137bbc419dd77b /nuttx/graphics/nxsu/nx_open.c
parent3df1d5fd1bbb583c3bd44a24939e49fa0d52c161 (diff)
downloadpx4-nuttx-0f0d60e9aff0ac59c14e98db8d52abf7da3edd51.tar.gz
px4-nuttx-0f0d60e9aff0ac59c14e98db8d52abf7da3edd51.tar.bz2
px4-nuttx-0f0d60e9aff0ac59c14e98db8d52abf7da3edd51.zip
Correct size of background window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1423 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxsu/nx_open.c')
-rw-r--r--nuttx/graphics/nxsu/nx_open.c4
1 files changed, 2 insertions, 2 deletions
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