window: Track and report input and opaque regions
We just set the input region to the bounding box of the window frame
and set the opaque region to be the opaque rectangle inside the window
if the child widget is opaque.
diff --git a/clients/terminal.c b/clients/terminal.c
index 7eb1dc2..e57a77d 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -2272,6 +2272,7 @@
terminal->window = window_create(display);
terminal->widget = frame_create(terminal->window, terminal);
window_set_title(terminal->window, "Wayland Terminal");
+ widget_set_transparent(terminal->widget, 0);
init_state_machine(&terminal->state_machine);
init_color_table(terminal);