nanogui: A problem about refresh
Subject:
Re: A problem about refresh
From:
Jordan Crouse ####@####.####
Date:
30 Apr 2001 14:54:02 -0000
Message-Id: <01043008521103.00902@cosmic>
On Sunday 29 April 2001 19:45, hongouyang mentioned:
> Hello. When I run nano-X server and a flnx application on the Assabat
> board, I find that when I killed the nano-X process, both the nano-X and
> application process exit. But I can still see the gui of the flnx
> application on the screen except that the screen became a little vague.
> When I run the application again, I can not see the gui on the screen. I am
> wondering how this happened. Can some one help me? Thanks a lot.
When you exit the nano-X server, it just exists, and anything you had on the
screen will stay in the framebuffer memory, becuase there are no other
processes that will be writing to the screen. Most of the time thats not a
problem, because you will normally have the graphics engine active the whole
time, but if you really want to clear the screen, I suggest clearing the
memory right before the driver closes the framebuffer (in drivers/scr_fb.c).
Jordan