nanogui: GrRefresh() and other problems
Subject:
GrRefresh() and other problems
From:
"Linux PPC" ####@####.####
Date:
16 Oct 2002 13:44:25 -0000
Message-Id: <20021016134402.7498.qmail@webmail9.rediffmail.com>
Hi!
Isn't there a GrRefresh() call, or something
equivalent? When I display a jpeg image using
demo3 application, and if the display window
is moved (by the windowmanager or manually), the
image disappears. I see only a black window
with a border, in place of the jpeg image.
I felt, it was cos, the demo application wasn't
refreshing the display window after being moved.
Any ideas?
Another demo application which is causing a bit of
problem for me, is demo5.c, which displays multiple
windows. One of the windows has bouncing colored
balls. I have the console up and running on a
virtual terminal, and the microwindows demo running
on another. When I switch between the two, I get
the following error message:
Error can't switch away from VT: Invalid argument
I could trace the problem down to an ioctl on the
virtual terminal, which had the following comment
in the kernel source code:
/* If a vt is under process control, the kernel will not switch to
it... */
When I switch from the microwindows VT to the console
VT, I get the window with the bouncing balls on the
console (!) and the above mentioned error message.
Any ideas?
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/