stash the default screen visual and colormap in screen_ctx

This commit is contained in:
okan
2012-12-17 18:34:06 +00:00
parent 82e8ec4245
commit af13c08108
4 changed files with 10 additions and 9 deletions

View File

@@ -210,6 +210,8 @@ TAILQ_HEAD(autogroupwin_q, autogroupwin);
struct screen_ctx {
TAILQ_ENTRY(screen_ctx) entry;
u_int which;
Visual *visual;
Colormap colormap;
Window rootwin;
Window menuwin;
struct color color[CWM_COLOR_MAX];