Draw window borders with correct colormap.
commitb796928504107228fc8fde81b03eaeafcaf07f3b
authorIain Patterson <wm@iain.cx>
Sat, 25 Aug 2012 08:59:03 +0000 (25 09:59 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 25 Aug 2012 10:00:01 +0000 (25 11:00 +0100)
treecaeb374e30b75e3034f445901e326f9628cf7319
parent9ab2b642a6bf030c375a51ca9b2b27b6d51f1411
Draw window borders with correct colormap.

Using window-supplied depth, visual and colormap information has the
side effect of causing window borders to be draw using inconsistent
colormap entries.  Allocate entries from each window's colormap when
drawing its border.

Force setting the border when the window is first created so it's
guaranteed to be drawn in a consistent state.
src/actions.c
src/framewin.c
src/framewin.h
src/wconfig.h.in