mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-15 13:35:53 +01:00
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.
This commit is contained in:
committed by
Carlos R. Mafra
parent
9ab2b642a6
commit
b796928504
@@ -344,6 +344,7 @@
|
||||
#undef NO_MINIWINDOW_TITLES
|
||||
|
||||
#define FRAME_BORDER_COLOR "black"
|
||||
#define FRAME_SELECTED_BORDER_COLOR "white"
|
||||
|
||||
/* for boxes with high mouse sampling rates (SGI) */
|
||||
#define DELAY_BETWEEN_MOUSE_SAMPLING 10
|
||||
|
||||
Reference in New Issue
Block a user