Update cursor focus flag when preparing to render OS window
Fix inactive text alpha always being applied when starting a program with cursor hidden via session.
This commit is contained in:
@@ -637,6 +637,7 @@ prepare_to_render_os_window(OSWindow *os_window, monotonic_t now, unsigned int *
|
||||
if (is_active_window) {
|
||||
*active_window_id = w->id;
|
||||
if (collect_cursor_info(&WD.screen->cursor_render_info, w, now, os_window)) needs_render = true;
|
||||
WD.screen->cursor_render_info.is_focused = os_window->is_focused;
|
||||
set_os_window_title_from_window(w, os_window);
|
||||
*active_window_bg = window_bg;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user