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/dnd.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/dnd.c')
-rw-r--r-- | clients/dnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/dnd.c b/clients/dnd.c index e6dd091..b7f9f39 100644 --- a/clients/dnd.c +++ b/clients/dnd.c @@ -633,7 +633,7 @@ dnd_create(struct display *display) title = g_strdup_printf("Wayland Drag and Drop Demo"); - dnd->window = window_create(display, title, 100, 100, 500, 400); + dnd->window = window_create(display, title, 500, 400); dnd->display = display; dnd->key = 100; |