commit | a1627927c756d91c85448ff96ab437d0903e141f | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Jun 20 17:30:03 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Jun 20 17:30:03 2012 -0400 |
tree | 43ac3f5e9c4bb16befc4bcf9500e760f74e03e48 | |
parent | e828e904b5d59db030c5ff0f785cdf3e51e014c1 [diff] [blame] |
window: Compute initial window size correctly We didn't take decoration size into account before.
diff --git a/clients/window.h b/clients/window.h index da3815b..92e52a9 100644 --- a/clients/window.h +++ b/clients/window.h
@@ -363,6 +363,8 @@ struct widget * frame_create(struct window *window, void *data); +void +frame_set_child_size(struct widget *widget, int child_width, int child_height); void input_set_pointer_image(struct input *input, int pointer);