mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-10 13:04:03 +03:00
parent
60b64dadfe
commit
22c65c5d03
@ -14,6 +14,8 @@ Changelog
|
||||
- Fix using remote control to set cursor text color causing errors when
|
||||
creating new windows (:iss:`1326`)
|
||||
|
||||
- Fix window title for minimized windows not being updated (:iss:`1332`)
|
||||
|
||||
|
||||
0.13.3 [2019-01-19]
|
||||
------------------------------
|
||||
|
@ -631,6 +631,13 @@ render_os_window(OSWindow *os_window, double now, unsigned int active_window_id,
|
||||
#undef TD
|
||||
}
|
||||
|
||||
static inline void
|
||||
update_os_window_title(OSWindow *os_window) {
|
||||
Tab *tab = os_window->tabs + os_window->active_tab;
|
||||
Window *w = tab->windows + tab->active_window;
|
||||
update_window_title(w, os_window);
|
||||
}
|
||||
|
||||
static inline void
|
||||
render(double now) {
|
||||
double time_since_last_render = now - last_render_at;
|
||||
@ -641,7 +648,11 @@ render(double now) {
|
||||
|
||||
for (size_t i = 0; i < global_state.num_os_windows; i++) {
|
||||
OSWindow *w = global_state.os_windows + i;
|
||||
if (!w->num_tabs || !should_os_window_be_rendered(w)) continue;
|
||||
if (!w->num_tabs) continue;
|
||||
if (!should_os_window_be_rendered(w)) {
|
||||
update_os_window_title(w);
|
||||
continue;
|
||||
}
|
||||
if (global_state.is_wayland && w->wayland_render_state != RENDER_FRAME_READY && OPT(sync_to_monitor)) {
|
||||
if (w->wayland_render_state == RENDER_FRAME_NOT_REQUESTED) wayland_request_frame_render(w);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user