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

Missing initialization of background window

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1339 42af7a65-404d-4744-a932-0658087f49c3
parent 3bfb8870
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,20 @@ static inline int nxsu_setup(FAR struct fb_vtable_s *fb,
}
#endif
/* Initialize the non-NULL elements of the background window */
fe->be.bkgd.be = &fe->be;
fe->be.bkgd.bounds.pt2.x = fe->be.vinfo.xres;
fe->be.bkgd.bounds.pt2.y = fe->be.vinfo.yres;
/* Complete initialization of the server state structure. The
* window list contains only one element: The background window
* with nothing else above or below it
*/
fe->be.topwnd = &fe->be.bkgd;
/* Initialize the mouse position */
#ifdef CONFIG_NX_MOUSE
......
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