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:
@@ -1080,11 +1080,6 @@ widget_set_size(struct widget *widget, int32_t width, int32_t height)
|
|||||||
|
|
||||||
widget->allocation.width = width;
|
widget->allocation.width = width;
|
||||||
widget->allocation.height = height;
|
widget->allocation.height = height;
|
||||||
|
|
||||||
window->allocation.x = 0;
|
|
||||||
window->allocation.y = 0;
|
|
||||||
window->allocation.width = width;
|
|
||||||
window->allocation.height = height;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user