eventually apply last app ID when throttling

...instead of just dropping those app IDs.
This commit is contained in:
delthas 2023-10-10 18:40:46 +02:00
parent f4dd7a7878
commit 239561ffbf
4 changed files with 69 additions and 12 deletions

View file

@ -478,7 +478,6 @@ struct terminal {
char *window_title;
tll(char *) window_title_stack;
char *app_id;
struct timespec app_id_last_update;
struct {
bool active;
@ -603,6 +602,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 {