window: Don't set the window size in widget_set_size()

We propagate the toplevel widget size to the window size in the
window.c resize code.
This commit is contained in:
Kristian Høgsberg
2012-02-08 14:45:02 -05:00
parent 6665063328
commit 09a96b5394
-5
View File
@@ -1080,11 +1080,6 @@ widget_set_size(struct widget *widget, int32_t width, int32_t height)
widget->allocation.width = width;
widget->allocation.height = height;
window->allocation.x = 0;
window->allocation.y = 0;
window->allocation.width = width;
window->allocation.height = height;
}
void