summaryrefslogtreecommitdiff
path: root/clients/gears.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-01-10 22:41:05 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-01-10 22:41:55 -0500
commit29af3ebce676b3cdd516dedc0cbedc47f70ce425 (patch)
treef172ac5ba3fd2302f0cb325b87caa75f77d4ddd6 /clients/gears.c
parentbb97700474968d3a0d1869cb777b092b6d46637b (diff)
downloadweston-29af3ebce676b3cdd516dedc0cbedc47f70ce425.tar.gz
window: Make decorations just a widget
Woohoo, only took 25 commits of refactoring to get to this point.
Diffstat (limited to 'clients/gears.c')
-rw-r--r--clients/gears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/gears.c b/clients/gears.c
index e94152d8..a1e9f66a 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -314,7 +314,7 @@ gears_create(struct display *display)
memset(gears, 0, sizeof *gears);
gears->d = display;
gears->window = window_create(display, width, height);
- gears->widget = window_add_widget(gears->window, gears);
+ gears->widget = frame_create(gears->window, gears);
window_set_transparent(gears->window, 0);
window_set_title(gears->window, "Wayland Gears");