aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--calmwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 17ea203..98dee6e 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -138,6 +138,7 @@ struct client_ctx {
struct group_ctx *gc;
Window win;
Colormap colormap;
+ Visual *visual;
int bwidth; /* border width */
int obwidth; /* original border width */
struct geom geom, savegeom, fullgeom;
@@ -191,6 +192,7 @@ struct client_ctx {
char *res_class; /* class hint */
char *res_name; /* class hint */
int initial_state; /* wm hint */
+ XftColor xftcolor[CWM_COLOR_NITEMS];
};
TAILQ_HEAD(client_q, client_ctx);
@@ -480,7 +482,7 @@ void screen_assert_clients_within(struct screen_ctx *);
struct geom screen_area(struct screen_ctx *, int, int, int);
struct screen_ctx *screen_find(Window);
void screen_init(int);
-void screen_prop_win_create(struct screen_ctx *, Window);
+void screen_prop_win_create(struct screen_ctx *, struct client_ctx *);
void screen_prop_win_destroy(struct screen_ctx *);
void screen_prop_win_draw(struct screen_ctx *,
const char *, ...)