about summary refs log tree commit diff stats
path: root/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'draw.h')
-rw-r--r--draw.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/draw.h b/draw.h
index 9aec43d..95242ea 100644
--- a/draw.h
+++ b/draw.h
@@ -7,6 +7,8 @@ typedef struct _XDraw Draw;
 struct _XDraw {
 	unsigned int w, h;
 	Display *dpy;
+	int screen;
+	Window win;
 	Drawable drawable;
 	GC gc;
 	DDC *dc;
@@ -46,7 +48,7 @@ typedef struct {
 } TextExtents;
 
 /* Drawable abstraction */
-Draw *draw_create(Display *dpy, Window win, unsigned int w, unsigned int h);
+Draw *draw_create(Display *dpy, int screen, Window win, unsigned int w, unsigned int h);
 void draw_resize(Draw *draw, unsigned int w, unsigned int h);
 void draw_free(Draw *draw);
 
id='n103' href='#n103'>103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118