mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
terminal: Window operations
Implement OSC 1 (set window title), and some basic CSI t window operations. Signed-off-by: Callum Lowcay <callum@callumscode.com>
This commit is contained in:
parent
9d708b07e4
commit
ef57a9b788
3 changed files with 87 additions and 3 deletions
|
|
@ -139,6 +139,7 @@ window_draw(struct window *window);
|
|||
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
|
||||
|
|
@ -220,6 +221,12 @@ void
|
|||
window_set_frame_handler(struct window *window,
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue