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 | reverting the xkb dependency, I don't care if this function is deprecated, it... (diff) | |
| download | dwm-0a673ad7a37f3a1bdda7cef316bda300f8f181eb.tar.gz dwm-0a673ad7a37f3a1bdda7cef316bda300f8f181eb.zip | |
continued, distinction of Draw and DDC is bad, needs to be merged
Diffstat (limited to '')
| -rw-r--r-- | draw.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -7,6 +7,8 @@ typedef struct _XDraw Draw; | |||
| 7 | struct _XDraw { | 7 | struct _XDraw { |
| 8 | unsigned int w, h; | 8 | unsigned int w, h; |
| 9 | Display *dpy; | 9 | Display *dpy; |
| 10 | int screen; | ||
| 11 | Window win; | ||
| 10 | Drawable drawable; | 12 | Drawable drawable; |
| 11 | GC gc; | 13 | GC gc; |
| 12 | DDC *dc; | 14 | DDC *dc; |
| @@ -46,7 +48,7 @@ typedef struct { | |||
| 46 | } TextExtents; | 48 | } TextExtents; |
| 47 | 49 | ||
| 48 | /* Drawable abstraction */ | 50 | /* Drawable abstraction */ |
| 49 | Draw *draw_create(Display *dpy, Window win, unsigned int w, unsigned int h); | 51 | Draw *draw_create(Display *dpy, int screen, Window win, unsigned int w, unsigned int h); |
| 50 | void draw_resize(Draw *draw, unsigned int w, unsigned int h); | 52 | void draw_resize(Draw *draw, unsigned int w, unsigned int h); |
| 51 | void draw_free(Draw *draw); | 53 | void draw_free(Draw *draw); |
| 52 | 54 | ||
