aboutsummaryrefslogtreecommitdiffstats
path: root/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'window.h')
-rw-r--r--window.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/window.h b/window.h
index 1178007..8761120 100644
--- a/window.h
+++ b/window.h
@@ -50,6 +50,12 @@ typedef struct {
} win_env_t;
typedef struct {
+ size_t size;
+ char *p;
+ char *buf;
+} win_bar_t;
+
+typedef struct {
Window xwin;
win_env_t env;
@@ -73,8 +79,8 @@ typedef struct {
struct {
unsigned int h;
- char l[BAR_L_LEN];
- char r[BAR_R_LEN];
+ win_bar_t l;
+ win_bar_t r;
unsigned long bgcol;
unsigned long fgcol;
} bar;