When toggling between sessions, ensure that applications in the new session adapt to the client's theme.

This commit is contained in:
Jonathan Slenders
2025-02-27 20:50:39 +00:00
parent b448f4ba6c
commit b3d3a37e5e
4 changed files with 17 additions and 16 deletions

View File

@@ -401,6 +401,7 @@ server_client_set_session(struct client *c, struct session *s)
recalculate_sizes();
window_update_focus(s->curw->window);
session_update_activity(s, NULL);
session_theme_changed(s);
gettimeofday(&s->last_attached_time, NULL);
s->curw->flags &= ~WINLINK_ALERTFLAGS;
s->curw->window->latest = c;