Correct size of background window

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1423 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-12-06 14:41:24 +00:00
parent 9a7d905289
commit ed32f4d267
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -255,8 +255,8 @@ static inline int nxmu_setup(FAR const char *mqname,
fe->be.bkgd.conn = &fe->conn;
fe->be.bkgd.be = (FAR struct nxbe_state_s*)fe;
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
+2 -2
View File
@@ -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