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/resizor.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/resizor.c')
-rw-r--r-- | clients/resizor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/resizor.c b/clients/resizor.c index d5baf17..f308983 100644 --- a/clients/resizor.c +++ b/clients/resizor.c @@ -162,8 +162,7 @@ resizor_create(struct display *display) return resizor; memset(resizor, 0, sizeof *resizor); - resizor->window = window_create(display, "Wayland Resizor", - 100, 100, 500, 400); + resizor->window = window_create(display, "Wayland Resizor", 500, 400); resizor->display = display; window_set_key_handler(resizor->window, key_handler); |