Rename frame_create and frame_set_child_size with a window_ prefix
This is to avoid a collision with an actual frame structure.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
diff --git a/clients/terminal.c b/clients/terminal.c
index cec1d67..38abe50 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -840,7 +840,7 @@
width = columns * terminal->average_width + m;
height = rows * terminal->extents.height + m;
- frame_set_child_size(terminal->widget, width, height);
+ window_frame_set_child_size(terminal->widget, width, height);
}
struct color_scheme DEFAULT_COLORS = {
@@ -2652,7 +2652,7 @@
terminal->margin_top = 0;
terminal->margin_bottom = -1;
terminal->window = window_create(display);
- terminal->widget = frame_create(terminal->window, terminal);
+ terminal->widget = window_frame_create(terminal->window, terminal);
window_set_title(terminal->window, "Wayland Terminal");
widget_set_transparent(terminal->widget, 0);