diff options
author | anselm@garbe.us <unknown> | 2012-11-18 17:26:12 +0100 |
---|---|---|
committer | anselm@garbe.us <unknown> | 2012-11-18 17:26:12 +0100 |
commit | 0a673ad7a37f3a1bdda7cef316bda300f8f181eb (patch) | |
tree | be4cfdbd6569b0999f4d68fa07db04bdef87934a /draw.h | |
parent | 3aabc08ede9c6496720124be8ee34c8b39735239 (diff) | |
download | dwm-0a673ad7a37f3a1bdda7cef316bda300f8f181eb.tar.gz |
continued, distinction of Draw and DDC is bad, needs to be merged
Diffstat (limited to 'draw.h')
-rw-r--r-- | draw.h | 4 |
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); |