summaryrefslogtreecommitdiff
path: root/clients/resizor.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-12-17 09:53:12 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-12-17 09:53:12 -0500
commit82da52b15b49da3f3c7b4bd85d334ddfaa375ebc (patch)
treecd73456c727186ba121aa4a493d430f28bcebc1d /clients/resizor.c
parent53a7f2137b5aba32e97dbc3b964bdaf19a9099ef (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.c3
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);