diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-12-17 09:53:12 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-12-17 09:53:12 -0500 |
commit | 82da52b15b49da3f3c7b4bd85d334ddfaa375ebc (patch) | |
tree | cd73456c727186ba121aa4a493d430f28bcebc1d /clients/view.c | |
parent | 53a7f2137b5aba32e97dbc3b964bdaf19a9099ef (diff) |
Update surface.attach and change surface.map to surface.map_toplevel
The new map_toplevel() request no longer specifies a position and takes
the size from the attached buffer. The attach request now takes a
position relative to the top-left corner of the old buffer to let
clients specify the relative position of the new buffer.
Diffstat (limited to 'clients/view.c')
-rw-r--r-- | clients/view.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/view.c b/clients/view.c index 67149fb..b085c67 100644 --- a/clients/view.c +++ b/clients/view.c @@ -171,8 +171,7 @@ view_create(struct display *display, uint32_t key, const char *filename) view->filename = g_strdup(filename); - view->window = window_create(display, title, - 100 * key, 100 * key, 500, 400); + view->window = window_create(display, title, 500, 400); view->display = display; /* FIXME: Window uses key 1 for moves, need some kind of |