diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-02-06 12:50:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-02-06 12:50:38 +0000 |
| commit | 0b95e720739cce46df47972895e86eeb91fbc109 (patch) | |
| tree | fff232f14e2cc0236772330f2ae7b3da378e05dd /terminal.h | |
| parent | term: drop term->render.title.is_armed (diff) | |
| parent | changelog: OSC-176 - set app-id (diff) | |
Merge branch 'app-id'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -483,6 +483,7 @@ struct terminal { bool window_title_has_been_set; char *window_title; tll(char *) window_title_stack; + char *app_id; struct { bool active; @@ -606,6 +607,11 @@ struct terminal { int timer_fd; } title; + struct { + struct timespec last_update; + int timer_fd; + } app_id; + uint32_t scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */ struct { @@ -832,6 +838,7 @@ void term_xcursor_update_for_seat(struct terminal *term, struct seat *seat); void term_set_user_mouse_cursor(struct terminal *term, const char *cursor); void term_set_window_title(struct terminal *term, const char *title); +void term_set_app_id(struct terminal *term, const char *app_id); void term_flash(struct terminal *term, unsigned duration_ms); void term_bell(struct terminal *term); bool term_spawn_new(const struct terminal *term); |
