Skip to content
Snippets Groups Projects
Commit ed32f4d2 authored by patacongo's avatar patacongo
Browse files

Correct size of background window

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1423 42af7a65-404d-4744-a932-0658087f49c3
parent 9a7d9052
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment