nanogui: Window Repainted with colour of overlapping window
Subject:
Re: [nanogui] Window Repainted with colour of overlapping window
From:
"Greg Haerr" ####@####.####
Date:
20 Nov 2007 17:50:52 +0000
Message-Id: <0d9801c82b9d$e064c760$6401a8c0@winXP>
: but whenever this window is overlaped by some other window it gets
: repainted by that overlapping window colour.
That is proper behaviour. By setting a window property bit to
NOBACKGROUND, the system won't automatically paint
a background for it. However, when a window overlaps that
window, of course it will be fully displayed on top of it. When
that overlapping window is removed, the original window will
be sent an EXPOSE event, without clearing the background.
That window is fully responsible to paint its window contents.
Regards,
Greg