mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user