diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-01-31 15:24:48 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-01-31 15:24:48 -0500 |
commit | 009ac0a965708b89fe8e3db9ab862022e0395662 (patch) | |
tree | 3e3dc09e760871e2a8497d85bc08864e4d735772 /clients/view.c | |
parent | 8e054f76ccfe1ba43dd9e6d0968083f1d930cbb2 (diff) |
window: Dont take width and height in window constructor
Always set this by scheduling an initial resize.
Diffstat (limited to 'clients/view.c')
-rw-r--r-- | clients/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/view.c b/clients/view.c index 6736826..2ee22bc 100644 --- a/clients/view.c +++ b/clients/view.c @@ -233,7 +233,7 @@ view_create(struct display *display, title = "File not found"; } - view->window = window_create(display, 500, 400); + view->window = window_create(display); view->widget = frame_create(view->window, view); window_set_title(view->window, title); view->display = display; |