terminal: Window operations
Implement OSC 1 (set window title), and some basic CSI t window
operations.
Signed-off-by: Callum Lowcay <callum@callumscode.com>
diff --git a/clients/window.h b/clients/window.h
index e775127..36ca196 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -139,6 +139,7 @@
void
window_get_child_allocation(struct window *window,
struct rectangle *allocation);
+
void
window_set_child_size(struct window *window, int32_t width, int32_t height);
void
@@ -221,6 +222,12 @@
window_frame_handler_t handler);
void
+window_set_title(struct window *window, const char *title);
+
+const char *
+window_get_title(struct window *window);
+
+void
display_set_drag_offer_handler(struct display *display,
display_drag_offer_handler_t handler);